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