Enum MethodConfig.ParamNames

java.lang.Object
java.lang.Enum<MethodConfig.ParamNames>
nl.talsmasoftware.umldoclet.configuration.MethodConfig.ParamNames
All Implemented Interfaces:
Serializable, Comparable<MethodConfig.ParamNames>
Enclosing interface:
MethodConfig

public static enum MethodConfig.ParamNames extends Enum<MethodConfig.ParamNames>
How parameter names must be rendered.

NONE will omit the name for the parameter names, BEFORE_TYPE will render the name first, followed by the type, while AFTER_TYPE renders the type first followed by the parameter name (java-style).

  • Enum Constant Details

    • NONE

      public static final MethodConfig.ParamNames NONE
      Omit names of method parameters.
    • BEFORE_TYPE

      public static final MethodConfig.ParamNames BEFORE_TYPE
      Render the method parameter name first, followed by its type.
    • AFTER_TYPE

      public static final MethodConfig.ParamNames AFTER_TYPE
      Render the method parameter type first, followed by its name.
  • Method Details

    • values

      public static MethodConfig.ParamNames[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MethodConfig.ParamNames 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