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