- 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(InputStream in, 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 |
clearCache, hasCompatibleConfiguration, addClasspath, getResourceLoader, generateScriptName, getLoadedClasses, setResourceLoader, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, isShouldRecompile, setShouldRecompile, loadClass, loadClass, loadClass, defineClass, defineClass, close, addURL, newInstance, newInstance, getResourceAsStream, findResource, findResources, getURLs, getPlatformClassLoader, getSystemClassLoader, getName, getResource, getSystemResourceAsStream, getSystemResource, getResources, resources, isRegisteredAsParallelCapable, getSystemResources, getParent, getUnnamedModule, getDefinedPackage, getDefinedPackages, setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
-
-
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-2021 The Apache Software Foundation. All rights reserved.