Class AnnotationTypeElementDocImpl
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.MemberDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.MethodDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.AnnotationTypeElementDocImpl
- All Implemented Interfaces:
AnnotationTypeElementDoc,Doc,ExecutableMemberDoc,MemberDoc,MethodDoc,ProgramElementDoc,Comparable<Object>
@Deprecated
public class AnnotationTypeElementDocImpl
extends MethodDocImpl
implements AnnotationTypeElementDoc
Deprecated.
Represents an element of an annotation type.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.5
-
Field Summary
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
symFields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
lineMap, treeFields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
documentation, env, treePath -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym) Deprecated.AnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the default value of this element.booleanDeprecated.Returns false, even though this is indeed abstract.booleanDeprecated.Returns true, as this is an annotation type element.booleanisMethod()Deprecated.Returns false.Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.MethodDocImpl
isDefault, name, overriddenClass, overriddenMethod, overriddenType, overrides, qualifiedName, returnType, toStringMethods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
flatSignature, generateKey, getContainingClass, getFlags, isIncluded, isNative, isSynchronized, isSynthetic, isVarArgs, parameters, paramTags, position, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParametersString, typeParamTagsMethods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
annotations, containingClass, containingPackage, getModifiers, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, setTreePathMethods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
comment, commentText, compareTo, documentation, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isInterface, isOrdinaryClass, key, readHTMLDocumentation, seeTags, setRawCommentText, tags, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gw.gosudoc.com.sun.javadoc.Doc
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tagsMethods inherited from interface gw.gosudoc.com.sun.javadoc.ExecutableMemberDoc
flatSignature, isNative, isSynchronized, isVarArgs, parameters, paramTags, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParamTagsMethods inherited from interface gw.gosudoc.com.sun.javadoc.MemberDoc
isSyntheticMethods inherited from interface gw.gosudoc.com.sun.javadoc.MethodDoc
isDefault, overriddenClass, overriddenMethod, overriddenType, overrides, returnTypeMethods inherited from interface gw.gosudoc.com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
-
Constructor Details
-
AnnotationTypeElementDocImpl
Deprecated. -
AnnotationTypeElementDocImpl
public AnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath) Deprecated.
-
-
Method Details
-
isAnnotationTypeElement
public boolean isAnnotationTypeElement()Deprecated.Returns true, as this is an annotation type element. (For legacy doclets, return false.)- Specified by:
isAnnotationTypeElementin interfaceDoc- Overrides:
isAnnotationTypeElementin classDocImpl- Returns:
- true if it represents an annotation type element
-
isMethod
public boolean isMethod()Deprecated.Returns false. Although this is technically a method, we don't consider it one for this purpose. (For legacy doclets, return true.)- Specified by:
isMethodin interfaceDoc- Overrides:
isMethodin classMethodDocImpl- Returns:
- true
-
isAbstract
public boolean isAbstract()Deprecated.Returns false, even though this is indeed abstract. See MethodDocImpl.isAbstract() for the (il)logic behind this.- Specified by:
isAbstractin interfaceMethodDoc- Overrides:
isAbstractin classMethodDocImpl- Returns:
- true if this method is abstract
-
defaultValue
Deprecated.Returns the default value of this element. Returns null if this element has no default.- Specified by:
defaultValuein interfaceAnnotationTypeElementDoc- Returns:
- the default value of this element.
-