public interface ClassPreProcessor
限定符和类型 | 方法和说明 |
---|---|
void |
initialize()
Post constructor initialization, usually empty
|
byte[] |
preProcess(String className,
byte[] bytes,
ClassLoader classLoader,
ProtectionDomain protectionDomain)
Weave
|
void initialize()
byte[] preProcess(String className, byte[] bytes, ClassLoader classLoader, ProtectionDomain protectionDomain)
className
- bytes
- classLoader
- a
- protection domain that may be used for defining extraneous classes generated as part of modifying the one passed in