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
- Author:
- Scott Seligman
-
-
Field Summary
-
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
sym
-
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
documentation, env, treePath
-
-
Constructor Summary
Constructors Constructor Description AnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym)Deprecated.AnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, TreePath treePath)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AnnotationValuedefaultValue()Deprecated.Returns the default value of this element.booleanisAbstract()Deprecated.Returns false, even though this is indeed abstract.booleanisAnnotationTypeElement()Deprecated.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, toString
-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
flatSignature, getContainingClass, getFlags, isIncluded, isNative, isSynchronized, isSynthetic, isVarArgs, parameters, paramTags, position, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParametersString, typeParamTags
-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
annotations, containingClass, containingPackage, getModifiers, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier
-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
commentText, compareTo, documentation, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isInterface, isOrdinaryClass, seeTags, setRawCommentText, tags, tags
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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, tags
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ExecutableMemberDoc
flatSignature, isNative, isSynchronized, isVarArgs, parameters, paramTags, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParamTags
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.MemberDoc
isSynthetic
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.MethodDoc
isDefault, overriddenClass, overriddenMethod, overriddenType, overrides, returnType
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
-
-
-
-
Constructor Detail
-
AnnotationTypeElementDocImpl
public AnnotationTypeElementDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym)
Deprecated.
-
-
Method Detail
-
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
public AnnotationValue 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.
-
-