Package org.jboss.byteman.agent.adapter
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
-
public class LineTriggerAdapter extends RuleTriggerAdapter
asm Adapter class used to add a rule event trigger call to a method of som egiven class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
LineTriggerAdapter.LineTriggerConstructorAdapter
a 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 class
LineTriggerAdapter.LineTriggerMethodAdapter
a method visitor used to add a rule event trigger call to a method
-
Field Summary
Fields Modifier and Type Field Description private int
targetLine
private boolean
visitedLine
-
Fields inherited from class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
className, superName
-
Fields inherited from class org.jboss.byteman.agent.adapter.RuleAdapter
ASM_VERSION, transformContext
-
-
Constructor Summary
Constructors Constructor Description LineTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, int targetLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.MethodVisitor
visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
-
Methods inherited from class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
injectIntoMethod, isSuperOrSiblingConstructorCall, visit
-
Methods inherited from class org.jboss.byteman.agent.adapter.RuleAdapter
getTransformContext, matchTargetMethod
-
-
-
-
Constructor Detail
-
LineTriggerAdapter
public LineTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, int targetLine)
-
-