Package org.jboss.byteman.agent.adapter
Class InvokeTriggerAdapter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jboss.byteman.agent.adapter.RuleAdapter
org.jboss.byteman.agent.adapter.RuleTriggerAdapter
org.jboss.byteman.agent.adapter.InvokeTriggerAdapter
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 class
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
a method visitor used to add a rule event trigger call to a method -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private String
private int
private String
private String
private String
private int
private boolean
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
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
ConstructorsConstructorDescriptionInvokeTriggerAdapter
(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String calledClass, String calledMethodName, String calledMethodDescriptor, int count, boolean whenComplete) -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.MethodVisitor
visitMethod
(int access, String name, String desc, String signature, 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
Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
calledClass
-
calledMethodName
-
calledMethodDescriptor
-
matchedClass
-
matchedMethodName
-
matchedMethodDescriptor
-
count
private int count -
whenComplete
private boolean whenComplete -
visitedCount
private int visitedCount
-
-
Constructor Details
-
InvokeTriggerAdapter
public InvokeTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String calledClass, String calledMethodName, String calledMethodDescriptor, int count, boolean whenComplete)
-
-
Method Details