Class InvokeCheckAdapter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jboss.byteman.agent.adapter.RuleAdapter
org.jboss.byteman.agent.adapter.RuleCheckAdapter
org.jboss.byteman.agent.adapter.InvokeCheckAdapter
asm Adapter class used to check that the target method for a rule exists in a class
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classa method visitor used to add a rule event trigger call to a method -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate intprivate Stringprivate intFields inherited from class RuleAdapter
ASM_VERSION, transformContextFields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
ConstructorsConstructorDescriptionInvokeCheckAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String calledClass, String calledMethodName, String calledMethodDescriptor, int count) -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.MethodVisitorvisitMethod(int access, String name, String desc, String signature, String[] exceptions) Methods inherited from class RuleCheckAdapter
isVisited, isVisitOk, setVisited, setVisitOkMethods inherited from class RuleAdapter
getTransformContext, matchTargetMethodMethods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
calledClass
-
calledMethodName
-
calledMethodDescriptor
-
matchedReturnType
-
count
private int count -
visitedCount
private int visitedCount
-
-
Constructor Details
-
InvokeCheckAdapter
public InvokeCheckAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String calledClass, String calledMethodName, String calledMethodDescriptor, int count)
-
-
Method Details
-
visitMethod
-