| org.springframework.core.ControlFlow |
Interface to be implemented by objects that can return information about the current call stack. Useful in AOP (as in AspectJ cflow concept) but not AOP-specific.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Detect whether we're under the given class,
according to the current stack trace.
| |||||||||||
Detect whether we're under the given class and method,
according to the current stack trace.
| |||||||||||
Detect whether the current stack trace contains the given token.
| |||||||||||
Detect whether we're under the given class, according to the current stack trace.
| clazz | the clazz to look for |
|---|
Detect whether we're under the given class and method, according to the current stack trace.
| clazz | the clazz to look for |
|---|---|
| methodName | the name of the method to look for |
Detect whether the current stack trace contains the given token.
| token | the token to look for |
|---|