Doc (Java SE 11 & JDK 11 ) (original) (raw)

Modifier and Type

Method

Description

[String](../../../../java.base/java/lang/String.html "class in java.lang")

[commentText](#commentText%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return the text of the comment for this doc item.

int

[compareTo](#compareTo%28java.lang.Object%29)​([Object](../../../../java.base/java/lang/Object.html "class in java.lang") obj)

Deprecated, for removal: This API element is subject to removal in a future version.

Compares this doc object with the specified object for order.

[Tag](Tag.html "interface in com.sun.javadoc")[]

[firstSentenceTags](#firstSentenceTags%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return the first sentence of the comment as an array of tags.

[String](../../../../java.base/java/lang/String.html "class in java.lang")

[getRawCommentText](#getRawCommentText%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return the full unprocessed text of the comment.

[Tag](Tag.html "interface in com.sun.javadoc")[]

[inlineTags](#inlineTags%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return comment as an array of tags.

boolean

[isAnnotationType](#isAnnotationType%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an annotation type?

boolean

[isAnnotationTypeElement](#isAnnotationTypeElement%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an annotation type element?

boolean

[isClass](#isClass%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item aclass (and not an interface or annotation type)?

boolean

[isConstructor](#isConstructor%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item a constructor?

boolean

[isEnum](#isEnum%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an enum type?

boolean

[isEnumConstant](#isEnumConstant%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an enum constant?

boolean

[isError](#isError%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an error class?

boolean

[isException](#isException%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an exception class?

boolean

[isField](#isField%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item a field (but not an enum constant)?

boolean

[isIncluded](#isIncluded%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return true if this Doc item isincluded in the result set.

boolean

[isInterface](#isInterface%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item an interface (but not an annotation type)?

boolean

[isMethod](#isMethod%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Is this Doc item a method (but not a constructor or annotation type element)?

boolean

[isOrdinaryClass](#isOrdinaryClass%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

[String](../../../../java.base/java/lang/String.html "class in java.lang")

[name](#name%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Returns the non-qualified name of this Doc item.

[SourcePosition](SourcePosition.html "interface in com.sun.javadoc")

[position](#position%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return the source position of the first line of the corresponding declaration, or null if no position is available.

[SeeTag](SeeTag.html "interface in com.sun.javadoc")[]

[seeTags](#seeTags%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return the see also tags in this Doc item.

void

[setRawCommentText](#setRawCommentText%28java.lang.String%29)​([String](../../../../java.base/java/lang/String.html "class in java.lang") rawDocumentation)

Deprecated, for removal: This API element is subject to removal in a future version.

Set the full unprocessed text of the comment.

[Tag](Tag.html "interface in com.sun.javadoc")[]

[tags](#tags%28%29)()

Deprecated, for removal: This API element is subject to removal in a future version.

Return all tags in this Doc item.

[Tag](Tag.html "interface in com.sun.javadoc")[]

[tags](#tags%28java.lang.String%29)​([String](../../../../java.base/java/lang/String.html "class in java.lang") tagname)

Deprecated, for removal: This API element is subject to removal in a future version.

Return tags of the specified kind in this Doc item.