public class MethodPatternPointcut extends java.lang.Object implements Pointcut
Constructor and Description |
---|
MethodPatternPointcut(java.lang.String regexpPattern)
Creates a new instance of MethodPatternPoincut
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the given object is of the same type and
it has the same pattern.
|
int |
hashCode() |
boolean |
matchesJointpoint(java.lang.reflect.Method method)
Tests if the string representation of the given method
matches the pattern.
|
public MethodPatternPointcut(java.lang.String regexpPattern)
regexpPattern
- regexp pattern that will be matched against the
string representation of the methodpublic boolean matchesJointpoint(java.lang.reflect.Method method)
matchesJointpoint
in interface Pointcut
method
- method being invokedpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object