Enum BlockType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BlockType>

    public enum BlockType
    extends java.lang.Enum<BlockType>
    • Enum Constant Detail

      • BlockFixEmpty

        public static final BlockType BlockFixEmpty
      • BlockFixMethod

        public static final BlockType BlockFixMethod
      • BlockFixEntryPoint

        public static final BlockType BlockFixEntryPoint
      • BlockIf

        public static final BlockType BlockIf
      • BlockNewVar

        public static final BlockType BlockNewVar
      • BlockAssign

        public static final BlockType BlockAssign
      • BlockSetVar

        public static final BlockType BlockSetVar
      • BlockSetField

        public static final BlockType BlockSetField
      • BlockSwitchExit

        public static final BlockType BlockSwitchExit
      • BlockExit

        public static final BlockType BlockExit
      • BlockReturn

        public static final BlockType BlockReturn
      • BlockForeach

        public static final BlockType BlockForeach
      • BlockFunc

        public static final BlockType BlockFunc
      • BlockObject

        public static final BlockType BlockObject
    • Method Detail

      • values

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

        public static BlockType 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