public class IndexParamAccessTriggerAdapter extends RuleTriggerAdapter
Modifier and Type | Class and Description |
---|---|
private class |
IndexParamAccessTriggerAdapter.IndexParamAccessTriggerConstructorAdapter
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 |
IndexParamAccessTriggerAdapter.IndexParamAccessTriggerMethodAdapter
a method visitor used to add a rule event trigger call to a method
|
Modifier and Type | Field and Description |
---|---|
private int |
count |
private int |
flags |
private int |
paramIdx |
private boolean |
whenComplete |
className, superName
Constructor and Description |
---|
IndexParamAccessTriggerAdapter(ClassVisitor cv,
TransformContext transformContext,
int paramIdx,
int flags,
int count,
boolean whenComplete) |
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, visit
getTransformContext, matchTargetMethod
private int paramIdx
private int flags
private int count
private boolean whenComplete
public IndexParamAccessTriggerAdapter(ClassVisitor cv, TransformContext transformContext, int paramIdx, int flags, int count, boolean whenComplete)