|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.base.SConstants.BlockType
public static final class SConstants.BlockType
Type-safe enumeration for block types.
Field Summary | |
---|---|
static SConstants.BlockType |
BLOCK
Type-safe constant for basic block. |
static SConstants.BlockType |
CALL
Type-safe constant for call block. |
static SConstants.BlockType |
ENTRY
Type-safe constant for entry block. |
static SConstants.BlockType |
EXIT
Type-safe constant for exit block. |
static int |
IBLOCK
Integer constant for generic block |
static int |
ICALL
Integer constant for call block |
static int |
IENTRY
Integer constant for entry block |
static int |
IEXIT
Integer constant for exit block |
static int |
IRETURN
Integer constant for return block (return from call) |
static int |
MASK_BASIC
Bitmask to enable basic blocks. |
static int |
MASK_CALL
Bitmask to enable call blocks. |
static int |
MASK_ENTRY
Bitmask to enable entry blocks. |
static int |
MASK_EXIT
Bitmask to enable exit blocks. |
static int |
MASK_RETURN
Bitmask to enable return blocks. |
static int |
MASK_VALID
Bitmask for screening for valid block type bits. |
static SConstants.BlockType |
RETURN
Type-safe constant for return block. |
Method Summary | |
---|---|
static SConstants.BlockType |
fromInt(int i)
Converts an integer to its equivalent type-safe block type constant (for deserialization). |
int |
toInt()
Converts this type-safe constant to an integer (for serialization). |
int |
toMask()
Converts this type-safe constant to a bitmask. |
java.lang.String |
toString()
Returns a string representation of the block type. |
static java.lang.String |
toString(int bitMask)
Converts a bitmask encoding enabled block types into a string representation of the enabled types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int IENTRY
public static final int IEXIT
public static final int ICALL
public static final int IRETURN
public static final int IBLOCK
public static final SConstants.BlockType ENTRY
public static final SConstants.BlockType EXIT
public static final SConstants.BlockType CALL
public static final SConstants.BlockType RETURN
public static final SConstants.BlockType BLOCK
public static final int MASK_BASIC
public static final int MASK_ENTRY
public static final int MASK_EXIT
public static final int MASK_CALL
public static final int MASK_RETURN
public static final int MASK_VALID
Method Detail |
---|
public int toMask()
public int toInt()
public static SConstants.BlockType fromInt(int i)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String toString(int bitMask)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |