org.jboss.byteman.agent
Class Location.ExitLocation
java.lang.Object
org.jboss.byteman.agent.Location
org.jboss.byteman.agent.Location.ExitLocation
- Enclosing class:
- Location
private static class Location.ExitLocation
- extends Location
location identifying a method exit trigger point
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Location.ExitLocation
private Location.ExitLocation()
create
protected static Location create(java.lang.String parameters)
- create a location identifying a method entry trigger point
- Parameters:
parameters
- the text of the parameters appended to the location specifier
- Returns:
- a method entry location or null if the parameters is not a blank String
getRuleCheckAdapter
public 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
- Specified by:
getRuleCheckAdapter
in class Location
- Returns:
- the required adapter
getRuleAdapter
public 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
- Specified by:
getRuleAdapter
in class Location
- Returns:
- the required adapter
getLocationType
public LocationType getLocationType()
- Description copied from class:
Location
- identify the type of this location
- Specified by:
getLocationType
in class Location
- Returns:
- the type of this location
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object