Enum JavaConstant.MethodType.Dispatcher.ForLegacyVm

    • Constructor Detail

      • ForLegacyVm

        private ForLegacyVm()
    • Method Detail

      • values

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

        public static JavaConstant.MethodType.Dispatcher.ForLegacyVm 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
      • returnType

        public java.lang.Class<?> returnType​(java.lang.Object methodType)
        Extracts the return type of the supplied method type.
        Specified by:
        returnType in interface JavaConstant.MethodType.Dispatcher
        Parameters:
        methodType - An instance of java.lang.invoke.MethodType.
        Returns:
        The return type that is described by the supplied instance.
      • parameterArray

        public java.lang.Class<?>[] parameterArray​(java.lang.Object methodType)
        Extracts the parameter types of the supplied method type.
        Specified by:
        parameterArray in interface JavaConstant.MethodType.Dispatcher
        Parameters:
        methodType - An instance of java.lang.invoke.MethodType.
        Returns:
        The parameter types that are described by the supplied instance.