Enum Stmt.ST

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Stmt.ST>
    Enclosing class:
    Stmt

    public static enum Stmt.ST
    extends java.lang.Enum<Stmt.ST>
    Statement Type
    • Enum Constant Detail

      • LOCAL_START

        public static final Stmt.ST LOCAL_START
      • LOCAL_END

        public static final Stmt.ST LOCAL_END
      • ASSIGN

        public static final Stmt.ST ASSIGN
      • IDENTITY

        public static final Stmt.ST IDENTITY
      • LABEL

        public static final Stmt.ST LABEL
      • LOCK

        public static final Stmt.ST LOCK
      • NOP

        public static final Stmt.ST NOP
      • UNLOCK

        public static final Stmt.ST UNLOCK
      • VOID_INVOKE

        public static final Stmt.ST VOID_INVOKE
      • FILL_ARRAY_DATA

        public static final Stmt.ST FILL_ARRAY_DATA
      • RETURN

        public static final Stmt.ST RETURN
      • RETURN_VOID

        public static final Stmt.ST RETURN_VOID
      • THROW

        public static final Stmt.ST THROW
      • GOTO

        public static final Stmt.ST GOTO
      • IF

        public static final Stmt.ST IF
      • LOOKUP_SWITCH

        public static final Stmt.ST LOOKUP_SWITCH
      • TABLE_SWITCH

        public static final Stmt.ST TABLE_SWITCH
    • Method Detail

      • values

        public static Stmt.ST[] 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 (Stmt.ST c : Stmt.ST.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Stmt.ST 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 name
        java.lang.NullPointerException - if the argument is null
      • canBranch

        public boolean canBranch()
      • canContinue

        public boolean canContinue()
      • canSwitch

        public boolean canSwitch()
      • mayThrow

        public boolean mayThrow()
      • canThrow

        public boolean canThrow()