sofya.base
Class SConstants.BlockSubType

java.lang.Object
  extended by sofya.base.SConstants.BlockSubType
Enclosing interface:
SConstants

public static final class SConstants.BlockSubType
extends java.lang.Object

Type-safe enumeration for block subtypes


Field Summary
static SConstants.BlockSubType DONTCARE
          Type-safe constant for don't care about block subtype
static SConstants.BlockSubType FINALLY
          Type-safe constant for Finally (RET) subtype
static SConstants.BlockSubType GOTO
          Type-safe constant for goto subtype
static int IDONTCARE
          Integer constant for subtype don't care
static SConstants.BlockSubType IF
          Type-safe constant for if subtype
static int IFINALLY
          Integer constant for subtype finally-return
static int IGOTO
          Integer constant for subtype goto
static int IIF
          Integer constant for subtype if
static int IJSR
          Integer constant for subtype jsr (enter finally block)
static int IRETURN
          Integer constant for subtype return to caller
static int ISUMMARYTHROW
          Integer constant for subtype summary throw (aggregate of all thrown types which cannot be precisely determined)
static int ISWITCH
          Integer constant for subtype switch
static int ISYSTEMEXIT
          Integer constant for subtype System.exit
static int ITHROW
          Integer constant for subtype throw
static SConstants.BlockSubType JSR
          Type-safe constant for jsr (Jump Subroutine) subtype
static SConstants.BlockSubType RETURN
          Type-safe constant for Return subtype
static SConstants.BlockSubType SUMMARYTHROW
          Type-safe constant for block subtype associated with the node representing all exceptional exits which are not precisely represented in the control flow (such as exceptional exits caused by operators or array operations)
static SConstants.BlockSubType SWITCH
          Type-safe constant for Switch subtype
static SConstants.BlockSubType SYSTEMEXIT
          Type-safe constant for System.exit subtype
static SConstants.BlockSubType THROW
          Type-safe constant for Throw subtype
 
Method Summary
static SConstants.BlockSubType fromInt(int i)
          Converts an integer to its equivalent type-safe block subtype constant (for deserialization).
 int toInt()
          Converts this type-safe constant to an integer (for serialization).
 java.lang.String toString()
          Returns a string representation of the block subtype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IIF

public static final int IIF
Integer constant for subtype if

See Also:
Constant Field Values

IGOTO

public static final int IGOTO
Integer constant for subtype goto

See Also:
Constant Field Values

IJSR

public static final int IJSR
Integer constant for subtype jsr (enter finally block)

See Also:
Constant Field Values

ISWITCH

public static final int ISWITCH
Integer constant for subtype switch

See Also:
Constant Field Values

IRETURN

public static final int IRETURN
Integer constant for subtype return to caller

See Also:
Constant Field Values

IFINALLY

public static final int IFINALLY
Integer constant for subtype finally-return

See Also:
Constant Field Values

ITHROW

public static final int ITHROW
Integer constant for subtype throw

See Also:
Constant Field Values

ISUMMARYTHROW

public static final int ISUMMARYTHROW
Integer constant for subtype summary throw (aggregate of all thrown types which cannot be precisely determined)

See Also:
Constant Field Values

ISYSTEMEXIT

public static final int ISYSTEMEXIT
Integer constant for subtype System.exit

See Also:
Constant Field Values

IDONTCARE

public static final int IDONTCARE
Integer constant for subtype don't care

See Also:
Constant Field Values

IF

public static final SConstants.BlockSubType IF
Type-safe constant for if subtype


GOTO

public static final SConstants.BlockSubType GOTO
Type-safe constant for goto subtype


JSR

public static final SConstants.BlockSubType JSR
Type-safe constant for jsr (Jump Subroutine) subtype


SWITCH

public static final SConstants.BlockSubType SWITCH
Type-safe constant for Switch subtype


RETURN

public static final SConstants.BlockSubType RETURN
Type-safe constant for Return subtype


FINALLY

public static final SConstants.BlockSubType FINALLY
Type-safe constant for Finally (RET) subtype


THROW

public static final SConstants.BlockSubType THROW
Type-safe constant for Throw subtype


SUMMARYTHROW

public static final SConstants.BlockSubType SUMMARYTHROW
Type-safe constant for block subtype associated with the node representing all exceptional exits which are not precisely represented in the control flow (such as exceptional exits caused by operators or array operations)


SYSTEMEXIT

public static final SConstants.BlockSubType SYSTEMEXIT
Type-safe constant for System.exit subtype


DONTCARE

public static final SConstants.BlockSubType DONTCARE
Type-safe constant for don't care about block subtype

Method Detail

toInt

public int toInt()
Converts this type-safe constant to an integer (for serialization).


fromInt

public static SConstants.BlockSubType fromInt(int i)
Converts an integer to its equivalent type-safe block subtype constant (for deserialization).


toString

public java.lang.String toString()
Returns a string representation of the block subtype.

Overrides:
toString in class java.lang.Object