| com.tc.object.bytecode.MethodAdapter
All known Subclasses: com.tc.object.bytecode.MaxLocalVarStoreDetectingMethodAdapter, com.tc.object.bytecode.AbstractMethodAdapter, com.tc.object.bytecode.DistributedMethodCallAdapter, com.tc.object.bytecode.LogicalMethodAdapter,
MethodAdapter | public interface MethodAdapter (Code) | | Interface for something that can modify methods
|
Method Summary | |
public MethodVisitor | adapt(ClassVisitor classVisitor) | public boolean | doesOriginalNeedAdapting() | public void | initialize(ManagerHelper managerHelper, int access, String owner, String methodName, String originalMethodName, String description, String sig, String[] exceptions, InstrumentationLogger instrumentationLogger, MemberInfo memberInfo) Initialize the method adapter with resources
Parameters: managerHelper - Helper to call methods on the Manager Parameters: access - Access modifier for method Parameters: owner - Owner class name Parameters: methodName - Modified method name Parameters: originalMethodName - Original method name Parameters: description - Method description (params and return type) Parameters: sig - The method's signature. |
adapt | public MethodVisitor adapt(ClassVisitor classVisitor)(Code) | | Create a method visitor from the class visitor
Parameters: classVisitor - Modifies classes Method visitor that can modify methods |
doesOriginalNeedAdapting | public boolean doesOriginalNeedAdapting()(Code) | | Checks whether original needs adapting
True to adapt |
initialize | public void initialize(ManagerHelper managerHelper, int access, String owner, String methodName, String originalMethodName, String description, String sig, String[] exceptions, InstrumentationLogger instrumentationLogger, MemberInfo memberInfo)(Code) | | Initialize the method adapter with resources
Parameters: managerHelper - Helper to call methods on the Manager Parameters: access - Access modifier for method Parameters: owner - Owner class name Parameters: methodName - Modified method name Parameters: originalMethodName - Original method name Parameters: description - Method description (params and return type) Parameters: sig - The method's signature. May be null if themethod parameters, return type and exceptions do not use generictypes. Parameters: exceptions - Exceptions thrown by the method Parameters: instrumentationLogger - The logger Parameters: memberInfo - Member info |
|
|