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 Pointcutmethod - method being invokedpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object