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