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 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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate intprivate Stringprivate Stringprivate Stringprivate intprivate booleanFields inherited from class RuleTriggerAdapter
className, superNameFields inherited from class RuleAdapter
ASM_VERSION, transformContextFields 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.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
-
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
-
visitMethod
-