Enum Class MethodConfig.ParamNames
java.lang.Object
java.lang.Enum<MethodConfig.ParamNames>
nl.talsmasoftware.umldoclet.configuration.MethodConfig.ParamNames
- All Implemented Interfaces:
Serializable,Comparable<MethodConfig.ParamNames>,java.lang.constant.Constable
- Enclosing interface:
- MethodConfig
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).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRender the method parameter type first, followed by its name.Render the method parameter name first, followed by its type.Omit names of method parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodConfig.ParamNamesReturns the enum constant of this class with the specified name.static MethodConfig.ParamNames[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Omit names of method parameters. -
BEFORE_TYPE
Render the method parameter name first, followed by its type. -
AFTER_TYPE
Render the method parameter type first, followed by its name.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-