Package java.lang.instrument

Interface Summary
ClassFileTransformer sample code for java.lang.instrument.ClassFileTransformer definition code for java.lang.instrument.ClassFileTransformer An agent provides an implementation of this interface in order to transform class files.
Instrumentation sample code for java.lang.instrument.Instrumentation definition code for java.lang.instrument.Instrumentation This class provides services needed to instrument Java programming language code.
 

Class Summary
ClassDefinition sample code for java.lang.instrument.ClassDefinition definition code for java.lang.instrument.ClassDefinition This class serves as a parameter block to the Instrumentation.redefineClasses method.
 

Exception Summary
IllegalClassFormatException sample code for java.lang.instrument.IllegalClassFormatException definition code for java.lang.instrument.IllegalClassFormatException Thrown by an implementation of ClassFileTransformer.transform sample code for java.lang.instrument.ClassFileTransformer.transform(java.lang.ClassLoader, java.lang.String, java.lang.Class, java.security.ProtectionDomain, byte[]) definition code for java.lang.instrument.ClassFileTransformer.transform(java.lang.ClassLoader, java.lang.String, java.lang.Class, java.security.ProtectionDomain, byte[]) when its input parameters are invalid.
UnmodifiableClassException sample code for java.lang.instrument.UnmodifiableClassException definition code for java.lang.instrument.UnmodifiableClassException Thrown by an implementation of Instrumentation.redefineClasses sample code for java.lang.instrument.Instrumentation.redefineClasses(java.lang.instrument.ClassDefinition[]) definition code for java.lang.instrument.Instrumentation.redefineClasses(java.lang.instrument.ClassDefinition[]) when one of the specified classes cannot be modified.