Interface AnnotationTypeElementDoc

All Superinterfaces:
Comparable<Object>, Doc, ExecutableMemberDoc, MemberDoc, MethodDoc, ProgramElementDoc
@Deprecated(since="9",
            forRemoval=true)
public interface AnnotationTypeElementDoc
extends MethodDoc
Deprecated, for removal: This API element is subject to removal in a future version.
The declarations in this package have been superseded by those in the package jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.

Represents an element of an annotation type.

Since:
1.5

Methods

Modifier and Type Method Description
AnnotationValue defaultValue()

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

Returns the default value of this element.

Methods declared in interface com.sun.javadoc.Doc

commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags

Methods declared in interface com.sun.javadoc.ExecutableMemberDoc

flatSignature, isNative, isSynchronized, isVarArgs, parameters, paramTags, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParamTags

Methods declared in interface com.sun.javadoc.MemberDoc

isSynthetic

Methods declared in interface com.sun.javadoc.MethodDoc

isAbstract, isDefault, overriddenClass, overriddenMethod, overriddenType, overrides, returnType

Methods declared in interface com.sun.javadoc.ProgramElementDoc

annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName

Methods

defaultValue

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

Returns the default value of this element. Returns null if this element has no default.

Returns:
the default value of this element.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.javadoc/com/sun/javadoc/AnnotationTypeElementDoc.html