@Deprecated
public interface ControlFlow
Modifier and Type | Method and Description |
---|---|
boolean |
under(java.lang.Class<?> clazz)
Deprecated.
Detect whether we're under the given class,
according to the current stack trace.
|
boolean |
under(java.lang.Class<?> clazz,
java.lang.String methodName)
Deprecated.
Detect whether we're under the given class and method,
according to the current stack trace.
|
boolean |
underToken(java.lang.String token)
Deprecated.
Detect whether the current stack trace contains the given token.
|
boolean under(java.lang.Class<?> clazz)
clazz
- the clazz to look forboolean under(java.lang.Class<?> clazz, java.lang.String methodName)
clazz
- the clazz to look formethodName
- the name of the method to look forboolean underToken(java.lang.String token)
token
- the token to look for