ThrowsTree, which represents @throws
and @exception tags, collectively referred to as exception tags.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HtmlConfiguration | |
| private final Contents |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| private Map | |
| private List | |
| public Content | getAllBlockTagOutput(Element holder, TagletWriter tagletWriter)
Overrides jdk. Implements jdk. Returns the content to be included in the generated output for all instances of block tags handled by this taglet. |
| private Content | |
| private Element | |
| private Map | Returns: map of declared to instantiated thrown types or an empty map.the originally declared thrown types. declaredThrownTypes, List<? extends TypeMirror> the thrown types in the context of the current type. instantiatedThrownTypes)Returns a map of substitutions for a list of thrown types with the original type-variable as a key and the instantiated type as a value. |
| private Content | |
| private static int | |
| public InheritableTaglet. | inherit(Element dst, Element src, DocTree tag, boolean isFirstSentence)
Implements jdk.
|
| private static AssertionError | |
| private void | outputAnExceptionTagDeeply(ThrowsTaglet.
|
| private void | outputAnExceptionTagDeeply(ThrowsTaglet.
|
| private Content | Returns: the outputthe type that is thrown throwsType, Optional<Content> the optional content to add as a description content)Returns the output for a default |
| private static Map | |
| private static DocFinder. |
| config | back to summary |
|---|---|
| private final HtmlConfiguration config Hides jdk. | |
| contents | back to summary |
|---|---|
| private final Contents contents | |
| ThrowsTaglet | back to summary |
|---|---|
| pack-priv ThrowsTaglet(HtmlConfiguration config) | |
| detailedDescriptionOf | back to summary |
|---|---|
| private static String detailedDescriptionOf(Element e) | |
| diagnosticDescriptionOf | back to summary |
|---|---|
| private static String diagnosticDescriptionOf(Element e) | |
| expandShallowly | back to summary |
|---|---|
| private Map | |
| findByTypeElement | back to summary |
|---|---|
| private List | |
| getAllBlockTagOutput | back to summary |
|---|---|
| public Content getAllBlockTagOutput(Element holder, TagletWriter tagletWriter) Overrides jdk. Implements jdk. Doc from jdk. Returns the content to be included in the generated output for all instances of block tags handled by this taglet.
| |
| getAllBlockTagOutput0 | back to summary |
|---|---|
| private Content getAllBlockTagOutput0(Element holder) throws ExceptionTypeNotFound, NotExceptionType, Invalid, Undocumented, UnsupportedTypeParameter, NoOverrideFound, NoOverriddenMethodFound | |
| getExceptionType | back to summary |
|---|---|
| private Element getExceptionType(ThrowsTree tag, ExecutableElement holder) throws ExceptionTypeNotFound, NotExceptionType | |
| getSubstitutedThrownTypes | back to summary |
|---|---|
| private Map Returns a map of substitutions for a list of thrown types with the original type-variable as a key and the instantiated type as a value. If no types need to be substituted an empty map is returned.
| |
| getThrowsHeader | back to summary |
|---|---|
| private Content getThrowsHeader() Returns the header for the
| |
| indexOfInheritDoc | back to summary |
|---|---|
| private static int indexOfInheritDoc(ThrowsTree tag, ExecutableElement holder) throws Invalid | |
| inherit | back to summary |
|---|---|
| public InheritableTaglet. Implements jdk.
| |
| newAssertionError | back to summary |
|---|---|
| private static AssertionError newAssertionError(Object... objects) | |
| outputAnExceptionTagDeeply | back to summary |
|---|---|
| private void outputAnExceptionTagDeeply(ThrowsTaglet. | |
| outputAnExceptionTagDeeply | back to summary |
|---|---|
| private void outputAnExceptionTagDeeply(ThrowsTaglet. | |
| throwsTagOutput | back to summary |
|---|---|
| private Content throwsTagOutput(TypeMirror throwsType, Optional<Content> content) Returns the output for a default
| |
| toExceptionTags | back to summary |
|---|---|
| private static Map | |
| toResult | back to summary |
|---|---|
| private static DocFinder. | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Content | |
| private TypeMirror | |
| private boolean | |
| private final Content | |
| private final ThrowsTaglet | |
| private final TagletWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv Content | |
| pack-priv void | |
| pack-priv boolean | |
| public void |
| began | back to summary |
|---|---|
| private boolean began | |
| current | back to summary |
|---|---|
| private Content current | |
| exceptionType | back to summary |
|---|---|
| private TypeMirror exceptionType | |
| headerAdded | back to summary |
|---|---|
| private boolean headerAdded | |
| result | back to summary |
|---|---|
| private final Content result | |
| taglet | back to summary |
|---|---|
| private final ThrowsTaglet taglet | |
| writer | back to summary |
|---|---|
| private final TagletWriter writer | |
| ExceptionSectionBuilder | back to summary |
|---|---|
| pack-priv ExceptionSectionBuilder(TagletWriter writer, ThrowsTaglet taglet) | |
| beginEntry | back to summary |
|---|---|
| pack-priv void beginEntry(TypeMirror exceptionType) | |
| build | back to summary |
|---|---|
| pack-priv Content build() | |
| continueEntry | back to summary |
|---|---|
| pack-priv void continueEntry(Content c) | |
| debugEntryBegun | back to summary |
|---|---|
| pack-priv boolean debugEntryBegun() | |
| endEntry | back to summary |
|---|---|
| public void endEntry() | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ExecutableElement | |
| private final DocTree |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ExecutableElement | |
| pack-priv DocTree |
| holder | back to summary |
|---|---|
| private final ExecutableElement holder | |
| tag | back to summary |
|---|---|
| private final DocTree tag | |
| Failure | back to summary |
|---|---|
| pack-priv Failure(DocTree tag, ExecutableElement holder) | |
| holder | back to summary |
|---|---|
| pack-priv ExecutableElement holder() | |
| tag | back to summary |
|---|---|
| pack-priv DocTree tag() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ThrowsTree |
| ExceptionTypeNotFound | back to summary |
|---|---|
| pack-priv ExceptionTypeNotFound(ThrowsTree tag, ExecutableElement holder) | |
| tag | back to summary |
|---|---|
| pack-priv ThrowsTree tag() Overrides jdk.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Invalid | back to summary |
|---|---|
| public Invalid(DocTree tag, ExecutableElement holder) | |
| Modifier and Type | Field and Description |
|---|---|
| private final InheritDocTree |
| Access | Constructor and Description |
|---|---|
| public |
| inheritDoc | back to summary |
|---|---|
| private final InheritDocTree inheritDoc | |
| NoOverrideFound | back to summary |
|---|---|
| public NoOverrideFound(DocTree tag, ExecutableElement holder, InheritDocTree inheritDoc) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ThrowsTree | |
| pack-priv Element |
| type | back to summary |
|---|---|
| private final Element type | |
| NotExceptionType | back to summary |
|---|---|
| public NotExceptionType(ThrowsTree tag, ExecutableElement holder, Element type) | |
| tag | back to summary |
|---|---|
| pack-priv ThrowsTree tag() Overrides jdk.
| |
| type | back to summary |
|---|---|
| pack-priv Element type() | |
| Modifier and Type | Field and Description |
|---|---|
| private final Element |
| Access | Constructor and Description |
|---|---|
| public |
| exceptionElement | back to summary |
|---|---|
| private final Element exceptionElement | |
| Undocumented | back to summary |
|---|---|
| public Undocumented(DocTree tag, ExecutableElement holder, Element exceptionElement) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ThrowsTree |
| element | back to summary |
|---|---|
| private final Element element | |
| UnsupportedTypeParameter | back to summary |
|---|---|
| public UnsupportedTypeParameter(Element element, ThrowsTree tag, ExecutableElement holder) | |
| tag | back to summary |
|---|---|
| pack-priv ThrowsTree tag() Overrides jdk.
| |