public static enum DiSL.CodeOption extends java.lang.Enum<DiSL.CodeOption>
Modifier and Type | Class and Description |
---|---|
static interface |
DiSL.CodeOption.Flag
Flags corresponding to individual code options.
|
Enum Constant and Description |
---|
CATCH_EXCEPTIONS
Wrap snippets in exception handlers to catch exceptions.
|
CREATE_BYPASS
Create a copy of the original method code and check whether to
execute the instrumented or the uninstrumented version of the code
upon method entry.
|
DYNAMIC_BYPASS
Insert code for dynamic bypass control.
|
SPLIT_METHODS
Split methods exceeding the limit imposed by the class file format.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<DiSL.CodeOption> |
setOf(DiSL.CodeOption... options)
Creates a set of code options from an array of options.
|
static java.util.Set<DiSL.CodeOption> |
setOf(int flags)
Creates a set of code options from flags in an integer.
|
static DiSL.CodeOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiSL.CodeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiSL.CodeOption CREATE_BYPASS
public static final DiSL.CodeOption DYNAMIC_BYPASS
public static final DiSL.CodeOption SPLIT_METHODS
public static final DiSL.CodeOption CATCH_EXCEPTIONS
public static DiSL.CodeOption[] values()
for (DiSL.CodeOption c : DiSL.CodeOption.values()) System.out.println(c);
public static DiSL.CodeOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Set<DiSL.CodeOption> setOf(DiSL.CodeOption... options)
public static java.util.Set<DiSL.CodeOption> setOf(int flags)