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
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 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 type with the specified name.static MethodConfig.ParamNames[]values()Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-