Package asteroid

Enum Local.TO

    • Enum Constant Detail

      • FIELD

        public static final Local.TO FIELD
        Applies to a given class field
        Since:
        0.1.0
      • TYPE

        public static final Local.TO TYPE
        Applies to a given class
        Since:
        0.1.0
      • METHOD

        public static final Local.TO METHOD
        Applies to a given method
        Since:
        0.1.0
      • LOCAL_VARIABLE

        public static final Local.TO LOCAL_VARIABLE
        Applies to a Variable
        Since:
        0.2.5
      • PARAMETER

        public static final Local.TO PARAMETER
        Applies to a Parameter
        Since:
        0.2.5
    • Method Detail

      • values

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

        public static Local.TO 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