Enum ReferenceKind

    • Enum Constant Detail

      • REF_getField

        public static final ReferenceKind REF_getField
        getField = 1
      • REF_getStatic

        public static final ReferenceKind REF_getStatic
        getStatic = 2
      • REF_putField

        public static final ReferenceKind REF_putField
        putField = 3
      • REF_putStatic

        public static final ReferenceKind REF_putStatic
        putStatic = 4
      • REF_invokeVirtual

        public static final ReferenceKind REF_invokeVirtual
        invokeVirtual = 5
      • REF_invokeStatic

        public static final ReferenceKind REF_invokeStatic
        invokeStatic = 6
      • REF_invokeSpecial

        public static final ReferenceKind REF_invokeSpecial
        invokeSpecial = 7
      • REF_newInvokeSpecial

        public static final ReferenceKind REF_newInvokeSpecial
        newInvokeSpecial = 8
      • REF_invokeInterface

        public static final ReferenceKind REF_invokeInterface
        invokeInterface = 9
    • Method Detail

      • values

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

        public static ReferenceKind 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
      • symbol

        public java.lang.String symbol()
        Gets the symbol of this reference kind instance.
        Returns:
        the symbol of this reference kind instance.