Class LineTriggerAdapter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jboss.byteman.agent.adapter.RuleAdapter
org.jboss.byteman.agent.adapter.RuleTriggerAdapter
org.jboss.byteman.agent.adapter.LineTriggerAdapter
asm Adapter class used to add a rule event trigger call to a method of som egiven class
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classa method visitor used to add a rule event trigger call to a constructor -- this has to make sure the super constructor has been called before allowing a trigger call to be compiledprivate classa method visitor used to add a rule event trigger call to a method -
Field Summary
FieldsFields inherited from class RuleTriggerAdapter
className, superNameFields inherited from class RuleAdapter
ASM_VERSION, transformContextFields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
ConstructorsConstructorDescriptionLineTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, int targetLine) -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.MethodVisitorvisitMethod(int access, String name, String desc, String signature, String[] exceptions) Methods inherited from class RuleTriggerAdapter
injectIntoMethod, isSuperOrSiblingConstructorCall, visitMethods inherited from class RuleAdapter
getTransformContext, matchTargetMethodMethods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
targetLine
private int targetLine -
visitedLine
private boolean visitedLine
-
-
Constructor Details
-
LineTriggerAdapter
public LineTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, int targetLine)
-
-
Method Details
-
visitMethod
-