| java.lang.Object com.tc.asm.ClassAdapter com.tc.aspectwerkz.transform.inlining.weaver.HandlerVisitor
HandlerVisitor | public class HandlerVisitor extends ClassAdapter implements TransformationConstants(Code) | | Advises catch clauses by inserting a call to the join point as the first thing in the catch block.
author: Alexandre Vasseur author: TODO in ASM 2.x and later try/catch blocks are visited before method code, so this adapter is not needed |
Inner Class :public static class LookaheadCatchLabelsClassAdapter extends ClassAdapter | |
Inner Class :final static class LookaheadCatchLabelsMethodAdapter extends MethodAdapter | |
Inner Class :public class CatchClauseCodeAdapter extends MethodAdapter | |
Inner Class :static class CatchLabelStruct | |
handlerFilter | static boolean handlerFilter(Set definitions, ExpressionContext ctx)(Code) | | Filters out the catch clauses that are not eligible for transformation.
Parameters: definitions - Parameters: ctx - boolean true if the catch clause should be filtered out |
visitMethod | public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)(Code) | | Visits the methods bodies to weave in JP calls at catch clauses
Parameters: access - Parameters: name - Parameters: desc - Parameters: signature - Parameters: exceptions - |
Methods inherited from com.tc.asm.ClassAdapter | public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)(Code)(Java Doc) public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code)(Java Doc) public void visitAttribute(Attribute attr)(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public FieldVisitor visitField(int access, String name, String desc, String signature, Object value)(Code)(Java Doc) public void visitInnerClass(String name, String outerName, String innerName, int access)(Code)(Java Doc) public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)(Code)(Java Doc) public void visitOuterClass(String owner, String name, String desc)(Code)(Java Doc) public void visitSource(String source, String debug)(Code)(Java Doc)
|
|
|