DocCommentTree to an element.
| Modifier and Type | Field and Description |
|---|---|
| private final Element | |
| private final FileObject | |
| private final PackageElement |
| Access | Constructor and Description |
|---|---|
| public | DocFileElement(Utils
the standard utilities class utils, Element the module element or package element that "owns" the element, FileObject doc-files subdirectorythe file object fo)Creates a pseudo-element that wraps a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Implements javax. Returns |
| public Element | Returns: the element that "owns" thedoc-files directoryReturns the element that "owns" the |
| public FileObject | getFileObject()
Implements jdk. Returns the file object associated with this special
element such as |
| public PackageElement | getPackageElement()
Implements jdk. Returns the anchoring package element, in the case of a module element, this is the module's unnamed package. |
| public DocletElement. | getSubKind()
Implements jdk. Returns the subkind of this element. |
| public int | hashCode()
Overrides java. Implements javax. Obeys the general contract of |
| element | back to summary |
|---|---|
| private final Element element | |
| fo | back to summary |
|---|---|
| private final FileObject fo | |
| packageElement | back to summary |
|---|---|
| private final PackageElement packageElement | |
| DocFileElement | back to summary |
|---|---|
| public DocFileElement(Utils utils, Element element, FileObject fo) Creates a pseudo-element that wraps a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements javax. Doc from javax. Returns
| |
| getElement | back to summary |
|---|---|
| public Element getElement() Returns the element that "owns" the
| |
| getFileObject | back to summary |
|---|---|
| public FileObject getFileObject() Implements jdk. Doc from jdk. Returns the file object associated with this special
element such as
| |
| getPackageElement | back to summary |
|---|---|
| public PackageElement getPackageElement() Implements jdk. Doc from jdk. Returns the anchoring package element, in the case of a module element, this is the module's unnamed package.
| |
| getSubKind | back to summary |
|---|---|
| public DocletElement. Implements jdk. Doc from jdk. Returns the subkind of this element.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements javax. Doc from javax. Obeys the general contract of
| |