Package nl.talsmasoftware.umldoclet.uml
Class Method
java.lang.Object
nl.talsmasoftware.umldoclet.uml.UMLNode
nl.talsmasoftware.umldoclet.uml.TypeMember
nl.talsmasoftware.umldoclet.uml.Method
- Author:
- Sjoerd Talsma
-
Field Summary
Fields inherited from class nl.talsmasoftware.umldoclet.uml.TypeMember
isAbstract, isDeprecated, isStatic, name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter(String name, TypeName type)
Add a new parameter to this method.boolean
int
hashCode()
protected <IPW extends IndentingPrintWriter>
IPWwriteParametersTo(IPW output)
<IPW extends IndentingPrintWriter>
IPWwriteTo(IPW output)
Renders this object to the given indentingoutput
.protected <IPW extends IndentingPrintWriter>
IPWwriteTypeTo(IPW output)
Methods inherited from class nl.talsmasoftware.umldoclet.uml.TypeMember
getVisibility, setVisibility
Methods inherited from class nl.talsmasoftware.umldoclet.uml.UMLNode
addChild, findParent, getChildren, getChildren, getConfiguration, getParent, removeChildren, setParent, toString, writeChildrenTo
-
Constructor Details
-
Method
-
-
Method Details
-
addParameter
Add a new parameter to this method.- Parameters:
name
- The name of the parameter.type
- The type of the parameter.
-
writeParametersTo
- Overrides:
writeParametersTo
in classTypeMember
-
writeTo
Description copied from class:UMLNode
Renders this object to the given indentingoutput
.- Overrides:
writeTo
in classTypeMember
- Type Parameters:
IPW
- The subclass of indenting print writer being written to.- Parameters:
output
- The output to render this object to.- Returns:
- A reference to the output for method chaining purposes.
-
writeTypeTo
- Overrides:
writeTypeTo
in classTypeMember
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTypeMember
-
equals
- Overrides:
equals
in classTypeMember
-