public abstract class AbstractExpressionPointcut extends Object implements ExpressionPointcut, Serializable
setLocation(java.lang.String)
,
setExpression(java.lang.String)
,
Serialized FormConstructor and Description |
---|
AbstractExpressionPointcut() |
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
Return this pointcut's expression.
|
String |
getLocation()
Return location information about the pointcut expression
if available.
|
protected void |
onSetExpression(String expression)
Called when a new pointcut expression is set.
|
void |
setExpression(String expression) |
void |
setLocation(String location)
Set the location for debugging.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassFilter, getMethodMatcher
@Nullable public String getLocation()
null
if none is availableprotected void onSetExpression(@Nullable String expression) throws IllegalArgumentException
This implementation is empty.
expression
- expression to setIllegalArgumentException
- if the expression is invalidsetExpression(java.lang.String)
@Nullable public String getExpression()
getExpression
in interface ExpressionPointcut