public final class ClassDefinitionextends Object
Instrumentation.redefineClasses
类
Instrumentation.redefineClasses(java.lang.instrument.ClassDefinition...)
ClassDefinition(类<?> theClass, byte[] theClassFile)
ClassDefinition
类<?>
getDefinitionClass()
byte[]
getDefinitionClassFile()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ClassDefinition(类<?> theClass, byte[] theClassFile)
theClass
theClassFile
NullPointerException
null
public 类<?> getDefinitionClass()
public byte[] getDefinitionClassFile()