Package org.benf.cfr.reader.bytecode
Enum BytecodeMeta.CodeInfoFlag
- java.lang.Object
-
- java.lang.Enum<BytecodeMeta.CodeInfoFlag>
-
- org.benf.cfr.reader.bytecode.BytecodeMeta.CodeInfoFlag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BytecodeMeta.CodeInfoFlag>
- Enclosing class:
- BytecodeMeta
public static enum BytecodeMeta.CodeInfoFlag extends java.lang.Enum<BytecodeMeta.CodeInfoFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE_OF_MATCHES
ITERATED_TYPE_HINTS
LIVENESS_CLASH
MALFORMED_SWITCH
STRING_SWITCHES
SWITCHES
USES_EXCEPTIONS
USES_INVOKEDYNAMIC
USES_MONITORS
-
Constructor Summary
Constructors Modifier Constructor Description private
CodeInfoFlag()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BytecodeMeta.CodeInfoFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BytecodeMeta.CodeInfoFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USES_MONITORS
public static final BytecodeMeta.CodeInfoFlag USES_MONITORS
-
USES_EXCEPTIONS
public static final BytecodeMeta.CodeInfoFlag USES_EXCEPTIONS
-
USES_INVOKEDYNAMIC
public static final BytecodeMeta.CodeInfoFlag USES_INVOKEDYNAMIC
-
LIVENESS_CLASH
public static final BytecodeMeta.CodeInfoFlag LIVENESS_CLASH
-
ITERATED_TYPE_HINTS
public static final BytecodeMeta.CodeInfoFlag ITERATED_TYPE_HINTS
-
SWITCHES
public static final BytecodeMeta.CodeInfoFlag SWITCHES
-
STRING_SWITCHES
public static final BytecodeMeta.CodeInfoFlag STRING_SWITCHES
-
INSTANCE_OF_MATCHES
public static final BytecodeMeta.CodeInfoFlag INSTANCE_OF_MATCHES
-
MALFORMED_SWITCH
public static final BytecodeMeta.CodeInfoFlag MALFORMED_SWITCH
-
-
Method Detail
-
values
public static BytecodeMeta.CodeInfoFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BytecodeMeta.CodeInfoFlag c : BytecodeMeta.CodeInfoFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BytecodeMeta.CodeInfoFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-