public class ThrowTriggerAdapter extends RuleTriggerAdapter
| Modifier and Type | Class and Description |
|---|---|
private class |
ThrowTriggerAdapter.ThrowTriggerConstructorAdapter
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
|
private class |
ThrowTriggerAdapter.ThrowTriggerMethodAdapter
a method visitor used to add a rule event trigger call to a method
|
| Modifier and Type | Field and Description |
|---|---|
private int |
count |
private java.lang.String |
exceptionClass |
className, superName| Constructor and Description |
|---|
ThrowTriggerAdapter(ClassVisitor cv,
TransformContext transformContext,
java.lang.String exceptionClass,
int count) |
| Modifier and Type | Method and Description |
|---|---|
MethodVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
isSuperOrSiblingConstructorCall, visitgetTransformContext, matchTargetMethodpublic ThrowTriggerAdapter(ClassVisitor cv,
TransformContext transformContext,
java.lang.String exceptionClass,
int count)