Enum InvokeType

    • Enum Constant Detail

      • VIRTUAL

        public static final InvokeType VIRTUAL
        Virtual method invocation (invokevirtual).
      • SPECIAL

        public static final InvokeType SPECIAL
        Special method invocation (invokespecial).
      • STATIC

        public static final InvokeType STATIC
        Static method invocation (invokestatic).
      • INTERFACE

        public static final InvokeType INTERFACE
        Interface method invocation (invokeinterface).
      • DYNAMIC

        public static final InvokeType DYNAMIC
        Dynamic method invocation (invokedynamic).
    • Method Detail

      • values

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

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