java.lang.instrument
public final class ClassDefinition extends Object
Since: 1.5
See Also: (java.lang.instrument.ClassDefinition[])
| Constructor Summary | |
|---|---|
| ClassDefinition(Class<?> theClass, byte[] theClassFile) | |
| Method Summary | |
|---|---|
| Class<?> | getDefinitionClass() |
| byte[] | getDefinitionClassFile() |
Parameters: theClass the Class that will be redefined theClassFile the new class file
Throws: NullPointerException if one of the argument is null
Returns: the Class
Returns: the bytes