Interface MethodConfig
public interface MethodConfig
Influences how Methods are rendered in the UML.
- Author:
- Sjoerd Talsma
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumHow parameter names must be rendered. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninclude(Visibility methodVisibility) Return whether the method with specified visibility should be included in the UML diagram.booleanWhether JavaBean property accessor methods such asgetXyz(),isXyz(),setXyz(Xyz xyz)should be rendered as Fields in UML.How method parameter names must be rendered.How parameter types must be rendered.How method return types must be rendered.
-
Method Details
-
paramNames
MethodConfig.ParamNames paramNames()How method parameter names must be rendered.- Returns:
- How method parameter names must be rendered.
-
paramTypes
TypeDisplay paramTypes()How parameter types must be rendered.- Returns:
- How parameter types must be rendered.
-
returnType
TypeDisplay returnType()How method return types must be rendered.- Returns:
- How method return types must be rendered.
-
include
Return whether the method with specified visibility should be included in the UML diagram.- Parameters:
methodVisibility- The method visibility.- Returns:
trueif the method should be included in the UML diagram based on its visibility, orfalseif it should be omitted.
-
javaBeanPropertiesAsFields
boolean javaBeanPropertiesAsFields()Whether JavaBean property accessor methods such asgetXyz(),isXyz(),setXyz(Xyz xyz)should be rendered as Fields in UML.- Returns:
trueif JavaBean accessor methods should be rendered as Fields in the UML diagram,falseto render them as normal methods.
-