ClassFileTransformer

Interface ClassFileTransformer

public interface ClassFileTransformer

An agent provides an implementation of this interface in order to transform class files. The transformation occurs before the class is defined by the JVM.

Note the term class file is used as defined in section 3.1 of The Java™ Virtual Machine Specification, to mean a sequence of bytes in class file format, whether or not they reside in a file.

Since:
1.5
See Also:
Instrumentation, Instrumentation.addTransformer(java.lang.instrument.ClassFileTransformer, boolean), 登录查看完整内容