Enum LdcType

    • Enum Constant Detail

      • Integer

        public static final LdcType Integer
      • Float

        public static final LdcType Float
      • Long

        public static final LdcType Long
      • Double

        public static final LdcType Double
      • String

        public static final LdcType String
      • Object

        public static final LdcType Object
      • Array

        public static final LdcType Array
      • Method

        public static final LdcType Method
      • Handle

        public static final LdcType Handle
      • ConstantDynamic

        public static final LdcType ConstantDynamic
    • Method Detail

      • values

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

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