public final class DevToolsEnablementDeducer extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
shouldEnable(Thread thread)
Checks if a specific
StackTraceElement in the current thread's stacktrace
should cause devtools to be disabled. |
public static boolean shouldEnable(Thread thread)
StackTraceElement
in the current thread's stacktrace
should cause devtools to be disabled.thread
- the current threadtrue
if devtools should be enabled