Enum Usage.Kind

    • Enum Constant Detail

      • ASSIGNMENT_LHS

        public static final Usage.Kind ASSIGNMENT_LHS
      • COMPOUND_ASSIGNMENT_LHS

        public static final Usage.Kind COMPOUND_ASSIGNMENT_LHS
      • LOOP_DECLARATION

        public static final Usage.Kind LOOP_DECLARATION
      • COMP_DECLARATION

        public static final Usage.Kind COMP_DECLARATION
      • PARAMETER

        public static final Usage.Kind PARAMETER
      • FUNC_DECLARATION

        public static final Usage.Kind FUNC_DECLARATION
      • CLASS_DECLARATION

        public static final Usage.Kind CLASS_DECLARATION
      • EXCEPTION_INSTANCE

        public static final Usage.Kind EXCEPTION_INSTANCE
      • WITH_INSTANCE

        public static final Usage.Kind WITH_INSTANCE
      • GLOBAL_DECLARATION

        public static final Usage.Kind GLOBAL_DECLARATION
    • Method Detail

      • values

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

        public static Usage.Kind 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 name
        NullPointerException - if the argument is null