Enum ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm

    • Constructor Detail

      • ForLegacyVm

        private ForLegacyVm()
    • Method Detail

      • values

        public static ParameterDescription.ForLoadedParameter.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 (ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm c : ParameterDescription.ForLoadedParameter.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 ParameterDescription.ForLoadedParameter.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
      • getModifiers

        public int getModifiers​(java.lang.reflect.AccessibleObject executable,
                                int index)
        Returns the given parameter's modifiers.
        Specified by:
        getModifiers in interface ParameterDescription.ForLoadedParameter.Dispatcher
        Parameters:
        executable - The executable to introspect.
        index - The parameter's index.
        Returns:
        The parameter's modifiers.
      • isNamePresent

        public boolean isNamePresent​(java.lang.reflect.AccessibleObject executable,
                                     int index)
        Returns true if the given parameter has an explicit name.
        Specified by:
        isNamePresent in interface ParameterDescription.ForLoadedParameter.Dispatcher
        Parameters:
        executable - The parameter to introspect.
        index - The parameter's index.
        Returns:
        true if the given parameter has an explicit name.
      • getName

        public java.lang.String getName​(java.lang.reflect.AccessibleObject executable,
                                        int index)
        Returns the given parameter's implicit or explicit name.
        Specified by:
        getName in interface ParameterDescription.ForLoadedParameter.Dispatcher
        Parameters:
        executable - The parameter to introspect.
        index - The parameter's index.
        Returns:
        The parameter's name.