Package org.jboss.byteman.agent.adapter
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 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
FieldsFields 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
ConstructorsConstructorDescriptionThrowTriggerAdapter
(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String exceptionClass, int count) -
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
-
exceptionClass
-
count
private int count
-
-
Constructor Details
-
ThrowTriggerAdapter
public ThrowTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String exceptionClass, int count)
-
-
Method Details