Klasse MethodBuilder
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractBuilder
org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractMemberBuilder
org.jdrupes.mdoclet.internal.doclets.toolkit.builders.MethodBuilder
Builds documentation for a method.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractBuilder
AbstractBuilder.Context
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractMemberBuilder
typeElement, visibleMemberTable
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractBuilder
builderFactory, configuration, containingPackagesSeen, messages, options, resources, utils
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Build the documentation.protected void
buildDeprecationInfo
(Content methodContent) Build the deprecation information.protected void
buildMethodComments
(Content methodContent) Build the comments for the method.protected void
buildMethodDoc
(Content detailsList) Build the method documentation.protected void
buildPreviewInfo
(Content methodContent) Build the preview information.protected void
buildSignature
(Content methodContent) Build the signature.protected void
buildTagInfo
(Content methodContent) Build the tag information.static MethodBuilder
getInstance
(AbstractBuilder.Context context, TypeElement typeElement, MethodWriter writer) Construct a new MethodBuilder.Return the method writer for this builder.boolean
Returns true if this subbuilder has anything to document.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractMemberBuilder
build, getVisibleMembers
-
Methodendetails
-
getInstance
public static MethodBuilder getInstance(AbstractBuilder.Context context, TypeElement typeElement, MethodWriter writer) Construct a new MethodBuilder.- Parameter:
context
- the build context.typeElement
- the class whose members are being documented.writer
- the doclet specific writer.- Gibt zurück:
- an instance of a MethodBuilder.
-
hasMembersToDocument
Beschreibung aus Klasse kopiert:AbstractMemberBuilder
Returns true if this subbuilder has anything to document.- Angegeben von:
hasMembersToDocument
in KlasseAbstractMemberBuilder
- Gibt zurück:
- true if this subbuilder has anything to document
-
build
Beschreibung aus Klasse kopiert:AbstractMemberBuilder
Build the documentation.- Angegeben von:
build
in KlasseAbstractMemberBuilder
- Parameter:
target
- the content into which to add the documentation- Löst aus:
DocletException
- if there is a problem building the documentation
-
buildMethodDoc
Build the method documentation.- Parameter:
detailsList
- the content to which the documentation will be added- Löst aus:
DocletException
- if there is a problem while building the documentation
-
buildSignature
Build the signature.- Parameter:
methodContent
- the content to which the documentation will be added
-
buildDeprecationInfo
Build the deprecation information.- Parameter:
methodContent
- the content to which the documentation will be added
-
buildPreviewInfo
Build the preview information.- Parameter:
methodContent
- the content to which the documentation will be added
-
buildMethodComments
Build the comments for the method.Do nothing if
BaseOptions.noComment()
is set to true.- Parameter:
methodContent
- the content to which the documentation will be added
-
buildTagInfo
Build the tag information.- Parameter:
methodContent
- the content to which the documentation will be added
-
getWriter
Return the method writer for this builder.- Gibt zurück:
- the method writer for this builder.
-