public class LineTriggerAdapter extends RuleTriggerAdapter
Modifier and Type | Class and Description |
---|---|
private class |
LineTriggerAdapter.LineTriggerConstructorAdapter
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 |
LineTriggerAdapter.LineTriggerMethodAdapter
a method visitor used to add a rule event trigger call to a method
|
Modifier and Type | Field and Description |
---|---|
private int |
targetLine |
private boolean |
visitedLine |
className, superName
Constructor and Description |
---|
LineTriggerAdapter(ClassVisitor cv,
TransformContext transformContext,
int targetLine) |
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
public LineTriggerAdapter(ClassVisitor cv, TransformContext transformContext, int targetLine)