W3cubDocs

/Groovy 3.0

[Java] Class GroovyClassLoader.InnerLoader

  • groovy.lang.GroovyClassLoader.InnerLoader
public static class GroovyClassLoader.InnerLoader
extends GroovyClassLoader

Constructor Summary

Constructors
Constructor and description
InnerLoader (GroovyClassLoader delegate)

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 loadClass, loadClass, loadClass, defineClass, defineClass, close, addURL, clearCache, setResourceLoader, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, addClasspath, getLoadedClasses, isShouldRecompile, setShouldRecompile, getResourceLoader, generateScriptName, hasCompatibleConfiguration, 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

Constructor Detail

public InnerLoader(GroovyClassLoader delegate)

Method Detail

@Override public void addClasspath(String path)

@Override public void addURL(URL url)

@Override public void clearAssertionStatus()

@Override public void clearCache()

@Override public void close()

@Override public Class defineClass(ClassNode classNode, String file, String newCodeBase)

@Override public Class defineClass(String name, byte[] b)

@Override public URL findResource(String name)

@Override public Enumeration<URL> findResources(String name)

@Override public String generateScriptName()

@Override public Class[] getLoadedClasses()

@Override public URL getResource(String name)

@Override public InputStream getResourceAsStream(String name)

@Override public GroovyResourceLoader getResourceLoader()

@Override public Enumeration<URL> getResources(String name)

public long getTimeStamp()

@Override public URL[] getURLs()

@Override public Boolean isShouldRecompile()

@Override public Class loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript, boolean resolve)

@Override public Class loadClass(String name, boolean lookupScriptFiles, boolean preferClassOverScript)

@Override public Class<?> loadClass(String name)

@Override public Class parseClass(GroovyCodeSource codeSource, boolean shouldCache)

@Override public Class parseClass(File file)

@Override public Class parseClass(String text, String fileName)

@Override public Class parseClass(String text)

@Override public Class parseClass(Reader reader, String fileName)

@Override @Deprecated public Class parseClass(InputStream in, String fileName)

@Override public Class parseClass(GroovyCodeSource codeSource)

@Override public void setClassAssertionStatus(String className, boolean enabled)

@Override public void setDefaultAssertionStatus(boolean enabled)

@Override public void setPackageAssertionStatus(String packageName, boolean enabled)

@Override public void setResourceLoader(GroovyResourceLoader resourceLoader)

@Override public void setShouldRecompile(Boolean mode)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/lang/GroovyClassLoader.InnerLoader.html