W3cubDocs

/Groovy 3.0

[Java] Class ClassLoaderForClassArtifacts

  • org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts
public class ClassLoaderForClassArtifacts
extends ClassLoader

Field Summary

Fields
Modifiers Name Description
SoftReference<Class> klazz

Constructor Summary

Constructors
Constructor and description
ClassLoaderForClassArtifacts (Class klazz)

Methods Summary

Methods
Type Params Return Type Name and description
public String createClassName(Method method)
public String createClassName(String methodName)
public Class define(String name, byte[] bytes)
public Constructor defineClassAndGetConstructor(String name, byte[] bytes)
public Class loadClass(String name)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class ClassLoader loadClass, getPlatformClassLoader, getSystemClassLoader, getName, getResourceAsStream, getResource, getSystemResourceAsStream, getSystemResource, getResources, resources, isRegisteredAsParallelCapable, getSystemResources, getParent, getUnnamedModule, getDefinedPackage, getDefinedPackages, setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Field Detail

public final SoftReference<Class> klazz

Constructor Detail

public ClassLoaderForClassArtifacts(Class klazz)

Method Detail

public String createClassName(Method method)

public String createClassName(String methodName)

public Class define(String name, byte[] bytes)

public Constructor defineClassAndGetConstructor(String name, byte[] bytes)

public Class loadClass(String name)

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