public enum DebugFlag extends Enum<DebugFlag>
| Enum Constant and Description |
|---|
ASM_CHECKER
True = checks that ASM visitXxx() methods are being used properly
|
TRACE
True = echo readable bytecodes for debugging
|
VERIFY
True = turn on verification of the compiled class bytes for debugging
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<DebugFlag> |
getDebugFlags() |
static boolean |
isDebugFlagsOn() |
static void |
setDebugFlagsOff() |
static void |
setDebugFlagsOn() |
static DebugFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DebugFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugFlag TRACE
public static final DebugFlag ASM_CHECKER
public static final DebugFlag VERIFY
public static DebugFlag[] values()
for (DebugFlag c : DebugFlag.values()) System.out.println(c);
public static DebugFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void setDebugFlagsOn()
public static void setDebugFlagsOff()
public static boolean isDebugFlagsOn()
Copyright © 2018. All rights reserved.