|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.byteman.agent.Location
org.jboss.byteman.agent.Location.LineLocation
private static class Location.LineLocation
location identifying a method line trigger point
Field Summary | |
---|---|
private int |
targetLine
the line at which the trigger point should be inserted |
Fields inherited from class org.jboss.byteman.agent.Location |
---|
ACCESS_READ, ACCESS_WRITE |
Constructor Summary | |
---|---|
private |
Location.LineLocation(int targetLine)
construct a location identifying a method line trigger point |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.jboss.byteman.agent.Location |
---|
create |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int targetLine
Constructor Detail |
---|
private Location.LineLocation(int targetLine)
targetLine
- the line at which the trigger point should be insertedMethod Detail |
---|
protected static Location create(java.lang.String parameters)
parameters
- the text of the parameters appended to the location specifier
public RuleCheckAdapter getRuleCheckAdapter(ClassVisitor cv, TransformContext transformContext)
getRuleCheckAdapter
in class Location
public RuleTriggerAdapter getRuleAdapter(ClassVisitor cv, TransformContext transformContext)
getRuleAdapter
in class Location
public LocationType getLocationType()
Location
getLocationType
in class Location
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |