{@inheritDoc} tag.
| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static DocFinder. | |
| public Content | getInlineTagOutput(Element e, DocTree inheritDoc, TagletWriter tagletWriter)
Overrides jdk. Implements jdk. Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet. |
| private Content | retrieveInheritedDocumentation(TagletWriter
the writer that is writing the output. writer, ExecutableElement the method that we are documenting. method, InheritDocTree the inheritDoc, boolean {@inheritDoc} tagtrue if we only want to inherit the first sentence isFirstSentence)Given an element and |
| InheritDocTaglet | back to summary |
|---|---|
| pack-priv InheritDocTaglet(HtmlConfiguration config) Construct a new InheritDocTaglet. | |
| extractMainDescription | back to summary |
|---|---|
| private static DocFinder. | |
| getInlineTagOutput | back to summary |
|---|---|
| public Content getInlineTagOutput(Element e, DocTree inheritDoc, TagletWriter tagletWriter) Overrides jdk. Implements jdk. Doc from jdk. Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet.
| |
| retrieveInheritedDocumentation | back to summary |
|---|---|
| private Content retrieveInheritedDocumentation(TagletWriter writer, ExecutableElement method, InheritDocTree inheritDoc, boolean isFirstSentence) Given an element and This method does not expand all
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | mainDescription
Record Component accessed by mainDescription(). |
| private final ExecutableElement |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public List | |
| public ExecutableElement | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| mainDescription | back to summary |
|---|---|
| private final List<? extends DocTree> mainDescription Record Component accessed by mainDescription(). | |
| method | back to summary |
|---|---|
| private final ExecutableElement method Record Component accessed by method(). | |
| Documentation | back to summary |
|---|---|
| private Documentation(List<? extends DocTree> mainDescription, ExecutableElement method) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| mainDescription | back to summary |
|---|---|
| public List Record Component getter of mainDescription. | |
| method | back to summary |
|---|---|
| public ExecutableElement method() Record Component getter of method. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |