Interface MethodConfig
public interface MethodConfig
Configuration for UML method rendering.
- Author:
- Sjoerd Talsma
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumHow method parameters are rendered. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninclude(Visibility methodVisibility) Whether a method with given visibility must 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 are rendered.How parameter types are rendered.How method return types are rendered.
-
Method Details
-
paramNames
MethodConfig.ParamNames paramNames()How method parameter names are rendered.- Returns:
- How method parameter names are rendered.
-
paramTypes
TypeDisplay paramTypes()How parameter types are rendered.- Returns:
- How parameter types are rendered.
-
returnType
TypeDisplay returnType()How method return types are rendered.- Returns:
- How method return types are rendered.
-
include
Whether a method with given visibility must be included in the UML diagram.- Parameters:
methodVisibility- The method visibility.- Returns:
trueif the method must be included in the UML diagram based on its visibility, orfalseif it must 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.
-