Package soot.dotnet.instructions
Enum CilBlockContainer.BlockContainerKind
- java.lang.Object
-
- java.lang.Enum<CilBlockContainer.BlockContainerKind>
-
- soot.dotnet.instructions.CilBlockContainer.BlockContainerKind
-
- All Implemented Interfaces:
Serializable,Comparable<CilBlockContainer.BlockContainerKind>
- Enclosing class:
- CilBlockContainer
public static enum CilBlockContainer.BlockContainerKind extends Enum<CilBlockContainer.BlockContainerKind>
Define the type of a blockcontainer, if blockcontainer is try block, etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATCH_FILTERCATCH_HANDLERCHILDFAULTFINALLYINSTR_BLOCKNORMALTRY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CilBlockContainer.BlockContainerKindvalueOf(String name)Returns the enum constant of this type with the specified name.static CilBlockContainer.BlockContainerKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final CilBlockContainer.BlockContainerKind NORMAL
-
TRY
public static final CilBlockContainer.BlockContainerKind TRY
-
CATCH_HANDLER
public static final CilBlockContainer.BlockContainerKind CATCH_HANDLER
-
CATCH_FILTER
public static final CilBlockContainer.BlockContainerKind CATCH_FILTER
-
FAULT
public static final CilBlockContainer.BlockContainerKind FAULT
-
FINALLY
public static final CilBlockContainer.BlockContainerKind FINALLY
-
CHILD
public static final CilBlockContainer.BlockContainerKind CHILD
-
INSTR_BLOCK
public static final CilBlockContainer.BlockContainerKind INSTR_BLOCK
-
-
Method Detail
-
values
public static CilBlockContainer.BlockContainerKind[] 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 (CilBlockContainer.BlockContainerKind c : CilBlockContainer.BlockContainerKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CilBlockContainer.BlockContainerKind valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-