Class ThrowTriggerAdapter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jboss.byteman.agent.adapter.RuleAdapter
org.jboss.byteman.agent.adapter.RuleTriggerAdapter
org.jboss.byteman.agent.adapter.ThrowTriggerAdapter
asm Adapter class used to add a rule event trigger call to a method of some given 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
ConstructorsConstructorDescriptionThrowTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String exceptionClass, int count) -
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
-
exceptionClass
-
count
private int count
-
-
Constructor Details
-
ThrowTriggerAdapter
public ThrowTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String exceptionClass, int count)
-
-
Method Details
-
visitMethod
-