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 method parameters are 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 before its type.Omit parameter names from methods altogether. -
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 parameter names from methods altogether. -
BEFORE_TYPE
Render the method parameter name first before 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
-