Modifier and Type | Method and Description |
---|---|
static PointcutPair |
and(Pointcut pointcut1,
Pointcut pointcut2)
Creates a new instance of PointcutPair.
|
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 both poincuts match
|
static PointcutPair |
or(Pointcut pointcut1,
Pointcut pointcut2)
Creates a new instance of PointcutPair.
|
public static PointcutPair and(Pointcut pointcut1, Pointcut pointcut2)
pointcut1
- first pointcutpointcut2
- second pointcutpublic static PointcutPair or(Pointcut pointcut1, Pointcut pointcut2)
pointcut1
- first pointcutpointcut2
- second pointcutpublic 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