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, visibleMemberTableVon Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.toolkit.builders.AbstractBuilder
builderFactory, configuration, containingPackagesSeen, messages, options, resources, utils -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidBuild the documentation.protected voidbuildDeprecationInfo(Content methodContent) Build the deprecation information.protected voidbuildMethodComments(Content methodContent) Build the comments for the method.protected voidbuildMethodDoc(Content detailsList) Build the method documentation.protected voidbuildPreviewInfo(Content methodContent) Build the preview information.protected voidbuildSignature(Content methodContent) Build the signature.protected voidbuildTagInfo(Content methodContent) Build the tag information.static MethodBuildergetInstance(AbstractBuilder.Context context, TypeElement typeElement, MethodWriter writer) Construct a new MethodBuilder.Return the method writer for this builder.booleanReturns 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:AbstractMemberBuilderReturns true if this subbuilder has anything to document.- Angegeben von:
hasMembersToDocumentin KlasseAbstractMemberBuilder- Gibt zurück:
- true if this subbuilder has anything to document
-
build
Beschreibung aus Klasse kopiert:AbstractMemberBuilderBuild the documentation.- Angegeben von:
buildin 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.
-