- groovy.lang.GroovyClassLoader.InnerLoader
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
public void |
addClasspath(String path)
|
|
public void |
addURL(URL url)
|
|
public void |
clearAssertionStatus()
|
|
public void |
clearCache()
|
|
public void |
close()
|
|
public Class |
defineClass(ClassNode classNode, String file, String newCodeBase)
|
|
public Class |
defineClass(String name, byte[] b)
|
|
public URL |
findResource(String name)
|
|
public Enumeration<URL> |
findResources(String name)
|
|
public String |
generateScriptName()
|
|
public Class[] |
getLoadedClasses()
|
|
public URL |
getResource(String name)
|
|
public InputStream |
getResourceAsStream(String name)
|
|
public GroovyResourceLoader |
getResourceLoader()
|
|
public Enumeration<URL> |
getResources(String name)
|
|
public long |
getTimeStamp()
|
|
public URL[] |
getURLs()
|
|
public Boolean |
isShouldRecompile()
|
|
public Class |
loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript, boolean resolve)
|
|
public Class |
loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript)
|
|
public Class<?> |
loadClass(String name)
|
|
public Class |
parseClass(GroovyCodeSource codeSource, boolean shouldCache)
|
|
public Class |
parseClass(File file)
|
|
public Class |
parseClass(String text, String fileName)
|
|
public Class |
parseClass(String text)
|
|
public Class |
parseClass(Reader reader, String fileName)
|
|
public Class |
parseClass(GroovyCodeSource codeSource)
|
|
public void |
setClassAssertionStatus(String className, boolean enabled)
|
|
public void |
setDefaultAssertionStatus(boolean enabled)
|
|
public void |
setPackageAssertionStatus(String packageName, boolean enabled)
|
|
public void |
setResourceLoader(GroovyResourceLoader resourceLoader)
|
|
public void |
setShouldRecompile(Boolean mode)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class GroovyClassLoader |
addClasspath, addURL, clearCache, close, defineClass, defineClass, generateScriptName, getLoadedClasses, getResourceLoader, hasCompatibleConfiguration, isShouldRecompile, loadClass, loadClass, loadClass, loadGroovySource, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, run, setResourceLoader, setShouldRecompile |
-
-
Method Detail
-
@Override
public void clearAssertionStatus()
-
public long getTimeStamp()
-
@Override
public Class loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript, boolean resolve)
-
@Override
public Class loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript)
-
@Override
public void setClassAssertionStatus(String className, boolean enabled)
-
@Override
public void setDefaultAssertionStatus(boolean enabled)
-
@Override
public void setPackageAssertionStatus(String packageName, boolean enabled)
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.