java.lang.instrument.ClassDefinitionInstrumentation.redefineClasses method.
Serves to bind the Class that needs redefining together with the new class file bytes.| Constructor Summary | ||
| ClassDefinition(Class<?> theClass, byte[] theClassFile) Creates a new ClassDefinition binding using the supplied
class and class file bytes. |
| Method Summary | ||
Class<?> |
getDefinitionClass() Returns the class. |
|
byte[] |
getDefinitionClassFile() Returns the array of bytes that contains the new class file. |
|
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassDefinition binding using the supplied
class and class file bytes. Does not copy the supplied buffer, just captures a reference to it.Class that needs redefiningnull.Class object referred to.