| Modifier and Type | Field and Description |
|---|---|
private int |
targetLine
the line at which the trigger point should be inserted
|
ACCESS_READ, ACCESS_WRITE| Modifier | Constructor and Description |
|---|---|
private |
Location.LineLocation(int targetLine)
construct a location identifying a method line trigger point
|
| Modifier and Type | Method and Description |
|---|---|
protected static Location |
create(java.lang.String parameters)
create a location identifying a method entry trigger point
|
LocationType |
getLocationType()
identify the type of this location
|
RuleTriggerAdapter |
getRuleAdapter(ClassVisitor cv,
TransformContext transformContext)
return an adapter which can be used to insert a trigger call in a method containing a trigger point whose
position matches this location
|
RuleCheckAdapter |
getRuleCheckAdapter(ClassVisitor cv,
TransformContext transformContext)
return an adapter which can be used to check whether a method contains a trigger point whose position
matches this location
|
java.lang.String |
toString() |
private int targetLine
private Location.LineLocation(int targetLine)
targetLine - the line at which the trigger point should be insertedprotected static Location create(java.lang.String parameters)
parameters - the text of the parameters appended to the location specifierpublic RuleCheckAdapter getRuleCheckAdapter(ClassVisitor cv, TransformContext transformContext)
getRuleCheckAdapter in class Locationpublic RuleTriggerAdapter getRuleAdapter(ClassVisitor cv, TransformContext transformContext)
getRuleAdapter in class Locationpublic LocationType getLocationType()
LocationgetLocationType in class Locationpublic java.lang.String toString()
toString in class java.lang.Object