open class ControlFlowPointcut : Pointcut, ClassFilter, MethodMatcher, Serializable
Pointcut and method matcher for use in simple cflow-style pointcut. Note that evaluating such pointcuts is 10-15 times slower than evaluating normal pointcuts, but they are useful in some cases.
Author
Rod Johnson
Author
Rob Harrop
Author
Juergen Hoeller
ControlFlowPointcut(clazz: Class<*>)
Construct a new pointcut that matches all control flows below that class. ControlFlowPointcut(clazz: Class<*>, methodName: String)
Construct a new pointcut that matches all calls below the given method in the given class. If no method name is given, matches all control flows below the given class. |
open fun equals(other: Any?): Boolean |
|
open fun getClassFilter(): ClassFilter |
|
open fun getEvaluations(): Int
It's useful to know how many times we've fired, for optimization. |
|
open fun getMethodMatcher(): MethodMatcher |
|
open fun hashCode(): Int |
|
open fun isRuntime(): Boolean |
|
open fun matches(clazz: Class<*>): Boolean
Subclasses can override this for greater filtering (and performance). open fun matches(method: Method, targetClass: Class<*>): Boolean
Subclasses can override this if it's possible to filter out some candidate classes. open fun matches(method: Method, targetClass: Class<*>, vararg args: Any): Boolean |