[Java] Class ClassLoaderForClassArtifacts
- org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts
Field Summary
| Modifiers | Name | Description |
|---|---|---|
SoftReference<Class> | klazz |
Constructor Summary
| Constructor and description |
|---|
ClassLoaderForClassArtifacts
(Class klazz) |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
String |
createClassName(Method method) | |
Class |
define(String name, byte[] bytes) | |
Constructor |
defineClassAndGetConstructor(String name, byte[] bytes) | |
Class |
loadClass(String name) |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class ClassLoader | loadClass, getSystemClassLoader, getResource, getResourceAsStream, getSystemResource, getSystemResourceAsStream, clearAssertionStatus, getParent, getResources, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class Object | 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 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/2.4.21/html/gapi/org/codehaus/groovy/reflection/ClassLoaderForClassArtifacts.html