| Modifier and Type | Field and Description |
|---|---|
| public static final TrueMethodMatcher |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isRuntime()
Implements org. MethodMatcher dynamic, that is, must a final check be made
via the matches(Method, Class, Object[]) method at runtime even
if matches(Method, Class) returns true?
|
| public boolean | matches(Method
the candidate method method, Class<?> the target class targetClass)Implements org. |
| public boolean | matches(Method
the candidate method method, Class<?> the target class targetClass, Object... arguments to the method args)Implements org. |
| private Object | |
| public String |
| INSTANCE | back to summary |
|---|---|
| public static final TrueMethodMatcher INSTANCE | |
| TrueMethodMatcher | back to summary |
|---|---|
| private TrueMethodMatcher() Enforce Singleton pattern. | |
| isRuntime | back to summary |
|---|---|
| public boolean isRuntime() Implements org. Doc from org. Is this Can be invoked when an AOP proxy is created, and need not be invoked again before each method invocation.
| |
| matches | back to summary |
|---|---|
| public boolean matches(Method method, Class<?> targetClass) Implements org. Doc from org. Perform static checking to determine whether the given method matches. If this method returns | |
| matches | back to summary |
|---|---|
| public boolean matches(Method method, Class<?> targetClass, Object... args) Implements org. Doc from org. Check whether there is a runtime (dynamic) match for this method, which must have matched statically. This method is invoked only if Invoked immediately before potential running of the advice, after any advice earlier in the advice chain has run. | |
| readResolve | back to summary |
|---|---|
| private Object readResolve() Required to support serialization. Replaces with canonical
instance on deserialization, protecting Singleton pattern.
Alternative to overriding | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |