public final class ClassDefinition extends Object
| Constructor and Description |
|---|
ClassDefinition(byte[] bytecode,
String internalName) |
ClassDefinition(byte[] bytecode,
String internalName,
Iterable<? extends Class<?>> preservedClasses) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytecode() |
String |
getClassName() |
String |
getInternalName() |
List<Class<?>> |
getPreservedClasses()
Returns list of Classes that are used by the generated class which should be used as is,
instead of loaded again by the
ByteCodeClassLoader. |
public ClassDefinition(byte[] bytecode,
String internalName)
public byte[] getBytecode()
public String getInternalName()
public String getClassName()
public List<Class<?>> getPreservedClasses()
ByteCodeClassLoader.Copyright © 2019 CDAP Licensed under the Apache License, Version 2.0.