Class ThrowTriggerAdapter.ThrowTriggerConstructorAdapter
java.lang.Object
org.objectweb.asm.MethodVisitor
org.jboss.byteman.agent.adapter.RuleMethodAdapter
org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
org.jboss.byteman.agent.adapter.ThrowTriggerAdapter.ThrowTriggerMethodAdapter
org.jboss.byteman.agent.adapter.ThrowTriggerAdapter.ThrowTriggerConstructorAdapter
- Enclosing class:
ThrowTriggerAdapter
private class ThrowTriggerAdapter.ThrowTriggerConstructorAdapter
extends ThrowTriggerAdapter.ThrowTriggerMethodAdapter
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 compiled
-
Nested Class Summary
Nested classes/interfaces inherited from class RuleMethodAdapter
RuleMethodAdapter.LocalVar
-
Field Summary
Fields inherited from class ThrowTriggerAdapter.ThrowTriggerMethodAdapter
latched
Fields inherited from class RuleTriggerMethodAdapter
exceptions
Fields inherited from class RuleGeneratorAdapter
ADD, AND, DIV, EQ, GE, GT, LE, LT, MUL, NE, NEG, OR, REM, SHL, SHR, SUB, USHR, XOR
Fields inherited from class RuleMethodAdapter
access, descriptor, localVarsByName, name, rule, transformContext
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorsConstructorDescriptionThrowTriggerConstructorAdapter
(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
visitMethodInsn
(int opcode, String owner, String name, String desc, boolean itf) Methods inherited from class ThrowTriggerAdapter.ThrowTriggerMethodAdapter
visitInsn
Methods inherited from class RuleTriggerMethodAdapter
getInvokedTypes, getMethodName, getNewClassName, getReturnBindingType, inBytemanHandler, inBytemanTrigger, injectTriggerPoint, inRethrowHandler, visitCode, visitEnd, visitFieldInsn, visitIincInsn, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLookupSwitchInsn, visitMaxs, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTriggerEnd, visitTriggerStart, visitTryCatchBlock, visitTypeInsn, visitVarInsn
Methods inherited from class RuleGeneratorAdapter
arrayLength, arrayLoad, arrayStore, box, cast, catchException, checkCast, dup, dup2, dup2X1, dup2X2, dupX1, dupX2, endMethod, getField, getLocalType, getStatic, goTo, ifCmp, ifICmp, ifNonNull, ifNull, ifZCmp, iinc, instanceOf, invokeConstructor, invokeDynamic, invokeInterface, invokeStatic, invokeVirtual, loadArg, loadArgArray, loadArgs, loadArgs, loadLocal, loadThis, mark, mark, math, monitorEnter, monitorExit, newArray, newInstance, newLabel, newLocal, not, pop, pop2, popLocal, push, push, push, push, push, push, push, push, putField, putStatic, ret, returnValue, storeArg, storeLocal, swap, swap, tableSwitch, tableSwitch, throwException, throwException, unbox, visitFrame
Methods inherited from class RuleMethodAdapter
getTriggerClassName, lookup, visitLocalVariable
Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitInsnAnnotation, visitLineNumber, visitLocalVariableAnnotation, visitMethodInsn, visitParameter, visitParameterAnnotation, visitTryCatchAnnotation, visitTypeAnnotation
-
Constructor Details
-
ThrowTriggerConstructorAdapter
ThrowTriggerConstructorAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions)
-
-
Method Details
-
visitMethodInsn
- Overrides:
visitMethodInsn
in classRuleTriggerMethodAdapter
-