|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Interceptor
Interceptor interface used for byte code modification. A user supplies an implementation of this interface. The calls are invoked as follows:
| Method Summary | |
|---|---|
void |
handleClass(ModifiableClass cls)
Invoked when the GenericClass constructor is called with classdata. |
void |
handleFieldReference(ModifiableFieldReference ref)
Called when a reference to a field is encountered while visiting the body of the method for which handleMethod was most recently called. |
void |
handleMethod(ModifiableMethod method)
Invoked after handleClass for each method defined in the class passed into the GenericClass constructor called with the classdata. |
String |
name()
Return the name of the interceptor. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
String name()
void handleClass(ModifiableClass cls)
void handleMethod(ModifiableMethod method)
void handleFieldReference(ModifiableFieldReference ref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||