public interface Interceptor extends Comparable<Interceptor>
| Modifier and Type | Method and Description |
|---|---|
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.
|
compareToString name()
void handleClass(ModifiableClass cls)
void handleMethod(ModifiableMethod method)
void handleFieldReference(ModifiableFieldReference ref)
Copyright © 2017 Oracle. All rights reserved.