Interface MethodConfig
public interface MethodConfig
Influences how Methods are rendered in the UML.
- Author:
- Sjoerd Talsma
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
How parameter names must be rendered. -
Method Summary
Modifier and TypeMethodDescriptionboolean
include(Visibility methodVisibility)
Return whether the method with specified visibility should be included in the UML diagram.boolean
Whether 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:
true
if the method should be included in the UML diagram based on its visibility, orfalse
if 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:
true
if JavaBean accessor methods should be rendered as Fields in the UML diagram,false
to render them as normal methods.
-