| Modifier and Type | Field and Description |
|---|---|
| private ExecutableElement | currentMethod
The index of the current field that is being documented at this point in time. |
| Access | Constructor and Description |
|---|---|
| public | MethodWriter(ClassWriter
the writer for the class that the methods belong to.\ writer)Construct a new MethodWriterImpl. |
| public | MethodWriter(SubWriterHolderWriter
the writer for the class that the methods belong to. writer, TypeElement the class typeElement)Construct a new MethodWriterImpl. |
| public | MethodWriter(SubWriterHolderWriter
The writer for the class that the methods belong to. writer)Construct a new MethodWriterImpl. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected static void | addImplementsInfo(HtmlDocletWriter
the writer for the method writer, ExecutableElement the method method, Collection<ExecutableElement> implemented methods methods, Content the definition list dl)Adds "implements" information for a method (if appropriate) into a definition list. |
| public void | addInheritedSummaryLabel(TypeElement typeElement, Content content)
Overrides jdk. Adds inherited summary label for the member. |
| protected static void | addOverridden(HtmlDocletWriter
the writer for the element writer, TypeMirror the superclass overriddenType, ExecutableElement the method method, Content the list in which to add the information. dl)Adds "overrides" or "specified by" information about a method (if appropriate) into a definition list. |
| protected void | |
| protected void | |
| public void | addSummaryLabel(Content content)
Implements abstract jdk. Adds the summary label for the member. |
| protected void | addSummaryType(Element member, Content content)
Implements abstract jdk. Adds the summary type for the member. |
| protected void | |
| protected void | buildDeprecationInfo(Content target)
Implements abstract jdk. Builds the deprecation info. |
| public void | buildDetails(Content target)
Implements abstract jdk. Builds the list of "details" for all members of this kind. |
| protected void | buildMethodComments(Content
the content to which the documentation will be added methodContent)Build the comments for the method. |
| protected void | buildMethodDoc(Content
the content to which the documentation will be added detailsList)Build the method documentation. |
| protected void | buildPreviewInfo(Content target)
Implements abstract jdk. Builds the preview info. |
| protected void | buildRestrictedInfo(Content
the content to which the documentation will be added target)Builds the restricted method info. |
| protected void | buildSignature(Content target)
Implements abstract jdk. Builds the signature. |
| public void | buildSummary(Content summariesList, Content content)
Implements abstract jdk. Adds the given summary to the list of summaries. |
| protected void | buildTagInfo(Content
the content to which the documentation will be added methodContent)Build the tag information. |
| protected Table | createInheritedSummaryTable(TypeElement typeElement)
Overrides jdk. Creates a summary table for members of the kind supported by this writer inherited
from |
| protected Table | createSummaryTable()
Implements abstract jdk. Creates the summary table for this element. |
| protected HtmlId | getInheritedSummaryId(TypeElement typeElement)
Overrides jdk. Creates an id for a summary table for members of the kind supported by this writer
inherited from |
| public Content | getMemberSummaryHeader(Content target)
Implements abstract jdk. Returns the member summary header for the given class. |
| protected Content | |
| protected Content | |
| protected Content | |
| protected Content | Returns: the return typethe method being documented. method)Get the return type for the given method. |
| protected Content | |
| public TableHeader | getSummaryTableHeader(Element member)
Implements abstract jdk. Returns the summary table header for the member. |
| currentMethod | back to summary |
|---|---|
| private ExecutableElement currentMethod The index of the current field that is being documented at this point in time. | |
| MethodWriter | back to summary |
|---|---|
| public MethodWriter(ClassWriter writer) Construct a new MethodWriterImpl.
| |
| MethodWriter | back to summary |
|---|---|
| public MethodWriter(SubWriterHolderWriter writer, TypeElement typeElement) Construct a new MethodWriterImpl.
| |
| MethodWriter | back to summary |
|---|---|
| public MethodWriter(SubWriterHolderWriter writer) Construct a new MethodWriterImpl.
| |
| addComments | back to summary |
|---|---|
| protected void addComments(TypeMirror holderType, ExecutableElement method, Content methodContent) | |
| addDeprecated | back to summary |
|---|---|
| protected void addDeprecated(ExecutableElement method, Content methodContent) | |
| addImplementsInfo | back to summary |
|---|---|
| protected static void addImplementsInfo(HtmlDocletWriter writer, ExecutableElement method, Collection<ExecutableElement> methods, Content dl) Adds "implements" information for a method (if appropriate) into a definition list.
| |
| addInheritedSummaryLabel | back to summary |
|---|---|
| public void addInheritedSummaryLabel(TypeElement typeElement, Content content) Overrides jdk. Doc from jdk. Adds inherited summary label for the member.
| |
| addOverridden | back to summary |
|---|---|
| protected static void addOverridden(HtmlDocletWriter writer, TypeMirror overriddenType, ExecutableElement method, Content dl) Adds "overrides" or "specified by" information about a method (if appropriate) into a definition list.
| |
| addPreview | back to summary |
|---|---|
| protected void addPreview(ExecutableElement method, Content content) | |
| addRestricted | back to summary |
|---|---|
| protected void addRestricted(ExecutableElement method, Content content) | |
| addSummaryLabel | back to summary |
|---|---|
| public void addSummaryLabel(Content content) Implements abstract jdk. Doc from jdk. Adds the summary label for the member.
| |
| addSummaryType | back to summary |
|---|---|
| protected void addSummaryType(Element member, Content content) Implements abstract jdk. Doc from jdk. Adds the summary type for the member.
| |
| addTags | back to summary |
|---|---|
| protected void addTags(ExecutableElement method, Content methodContent) | |
| buildDeprecationInfo | back to summary |
|---|---|
| protected void buildDeprecationInfo(Content target) Implements abstract jdk. Doc from jdk. Builds the deprecation info.
| |
| buildDetails | back to summary |
|---|---|
| public void buildDetails(Content target) Implements abstract jdk. Doc from jdk. Builds the list of "details" for all members of this kind.
| |
| buildMethodComments | back to summary |
|---|---|
| protected void buildMethodComments(Content methodContent) Build the comments for the method. Do nothing if
| |
| buildMethodDoc | back to summary |
|---|---|
| protected void buildMethodDoc(Content detailsList) Build the method documentation.
| |
| buildPreviewInfo | back to summary |
|---|---|
| protected void buildPreviewInfo(Content target) Implements abstract jdk. Doc from jdk. Builds the preview info.
| |
| buildRestrictedInfo | back to summary |
|---|---|
| protected void buildRestrictedInfo(Content target) Builds the restricted method info.
| |
| buildSignature | back to summary |
|---|---|
| protected void buildSignature(Content target) Implements abstract jdk. Doc from jdk. Builds the signature.
| |
| buildSummary | back to summary |
|---|---|
| public void buildSummary(Content summariesList, Content content) Implements abstract jdk. Doc from jdk. Adds the given summary to the list of summaries.
| |
| buildTagInfo | back to summary |
|---|---|
| protected void buildTagInfo(Content methodContent) Build the tag information.
| |
| createInheritedSummaryTable | back to summary |
|---|---|
| protected Table Overrides jdk. Doc from jdk. Creates a summary table for members of the kind supported by this writer inherited
from
| |
| createSummaryTable | back to summary |
|---|---|
| protected Table Implements abstract jdk. Doc from jdk. Creates the summary table for this element.
The table should be created and initialized if needed, and configured
so that it is ready to add content with
| |
| getInheritedSummaryId | back to summary |
|---|---|
| protected HtmlId getInheritedSummaryId(TypeElement typeElement) Overrides jdk. Doc from jdk. Creates an id for a summary table for members of the kind supported by this writer
inherited from
| |
| getMemberSummaryHeader | back to summary |
|---|---|
| public Content getMemberSummaryHeader(Content target) Implements abstract jdk. Doc from jdk. Returns the member summary header for the given class.
| |
| getMethodDetails | back to summary |
|---|---|
| protected Content getMethodDetails(Content methodDetailsHeader, Content methodDetails) | |
| getMethodDetailsHeader | back to summary |
|---|---|
| protected Content getMethodDetailsHeader(Content content) | |
| getMethodHeader | back to summary |
|---|---|
| protected Content getMethodHeader(ExecutableElement method) | |
| getReturnType | back to summary |
|---|---|
| protected Content getReturnType(ExecutableElement method) Get the return type for the given method.
| |
| getSignature | back to summary |
|---|---|
| protected Content getSignature(ExecutableElement method) | |
| getSummaryTableHeader | back to summary |
|---|---|
| public TableHeader getSummaryTableHeader(Element member) Implements abstract jdk. Doc from jdk. Returns the summary table header for the member.
| |