Schnittstelle MethodWriter
- Alle Superschnittstellen:
MemberWriter
- Alle bekannten Implementierungsklassen:
HtmlSerialMethodWriter
,MethodWriterImpl
The interface for writing method output.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addComments
(TypeMirror holder, ExecutableElement method, Content methodContent) Add the comments for the given method.void
addDeprecated
(ExecutableElement method, Content methodContent) Add the deprecated output for the given method.void
addPreview
(ExecutableElement member, Content content) Adds the preview output for the given member.void
addTags
(ExecutableElement method, Content methodContent) Add the tags for the given method.Gets the member header.getMethodDetails
(Content methodDetailsHeader, Content methodDetails) Get the method details.getMethodDetailsHeader
(Content content) Get the method details header.getMethodHeader
(ExecutableElement method) Get the method documentation header.getSignature
(ExecutableElement method) Get the signature for the given method.Von Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.MemberWriter
getMemberList, getMemberListItem
-
Methodendetails
-
getMethodDetailsHeader
Get the method details header.- Parameter:
content
- the content representing member details- Gibt zurück:
- the method details header
-
getMethodHeader
Get the method documentation header.- Parameter:
method
- the method being documented- Gibt zurück:
- the method documentation header
-
getSignature
Get the signature for the given method.- Parameter:
method
- the method being documented- Gibt zurück:
- the method signature
-
addDeprecated
Add the deprecated output for the given method.- Parameter:
method
- the method being documentedmethodContent
- the content to which the deprecated information will be added
-
addPreview
Adds the preview output for the given member.- Parameter:
member
- the member being documentedcontent
- the content to which the preview information will be added
-
addComments
Add the comments for the given method.- Parameter:
holder
- the holder type (not erasure) of the methodmethod
- the method being documentedmethodContent
- the content to which the comments will be added
-
addTags
Add the tags for the given method.- Parameter:
method
- the method being documentedmethodContent
- the content to which the tags will be added
-
getMethodDetails
Get the method details.- Parameter:
methodDetailsHeader
- the content representing method details headermethodDetails
- the content representing method details- Gibt zurück:
- the method details
-
getMemberHeader
Gets the member header.- Gibt zurück:
- the member header
-