Class AnnotationTypeDocImpl
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.ClassDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.AnnotationTypeDocImpl
- All Implemented Interfaces:
AnnotationTypeDoc
,ClassDoc
,Doc
,ProgramElementDoc
,Type
,Comparable<Object>
Deprecated.
Represents 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.ClassDocImpl
isIncluded, tsym, type
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
lineMap, tree
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
documentation, env, treePath
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationTypeDocImpl
(DocEnv env, com.sun.tools.javac.code.Symbol.ClassSymbol sym) Deprecated.AnnotationTypeDocImpl
(DocEnv env, com.sun.tools.javac.code.Symbol.ClassSymbol sym, com.sun.source.util.TreePath treePath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionelements()
Deprecated.Returns the elements of this annotation type.boolean
Deprecated.Returns true, as this is an annotation type.boolean
Deprecated.Returns false.methods
(boolean filter) Deprecated.Returns an empty array, as all methods are annotation type elements.Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ClassDocImpl
addAllClasses, asAnnotatedType, asAnnotationTypeDoc, asClassDoc, asParameterizedType, asTypeVariable, asWildcardType, classToString, constructors, constructors, containingPackage, definesSerializableFields, dimension, enumConstants, fields, fields, findClass, findConstructor, findField, findMethod, getClassName, getContainingClass, getElementType, getFlags, getFlags, importedClasses, importedPackages, innerClasses, innerClasses, interfaces, interfaceTypes, isAbstract, isAnnotationType, isClass, isEnum, isError, isException, isExternalizable, isGeneric, isIncluded, isOrdinaryClass, isPrimitive, isRuntimeException, isSerializable, isSynthetic, isThrowable, methods, modifiers, modifierSpecifier, name, position, qualifiedName, qualifiedTypeName, serializableFields, serializationMethods, simpleTypeName, subclassOf, superclass, superclassType, toString, typeName, typeParameters, typeParamTags
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
annotations, containingClass, generateKey, getModifiers, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, setTreePath
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
comment, commentText, compareTo, documentation, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationTypeElement, isConstructor, isEnumConstant, isField, isMethod, key, readHTMLDocumentation, 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.ClassDoc
constructors, constructors, definesSerializableFields, enumConstants, fields, fields, findClass, importedClasses, importedPackages, innerClasses, innerClasses, interfaces, interfaceTypes, isAbstract, isExternalizable, isSerializable, methods, serializableFields, serializationMethods, subclassOf, superclass, superclassType, typeParameters, typeParamTags
Methods inherited from interface gw.gosudoc.com.sun.javadoc.Doc
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
Methods inherited from interface gw.gosudoc.com.sun.javadoc.Type
asAnnotatedType, asAnnotationTypeDoc, asClassDoc, asParameterizedType, asTypeVariable, asWildcardType, dimension, getElementType, isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeName
-
Constructor Details
-
AnnotationTypeDocImpl
Deprecated. -
AnnotationTypeDocImpl
public AnnotationTypeDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.ClassSymbol sym, com.sun.source.util.TreePath treePath) Deprecated.
-
-
Method Details
-
isAnnotationType
public boolean isAnnotationType()Deprecated.Returns true, as this is an annotation type. (For legacy doclets, return false.)- Specified by:
isAnnotationType
in interfaceDoc
- Overrides:
isAnnotationType
in classDocImpl
- Returns:
- true if it represents an annotation type
-
isInterface
public boolean isInterface()Deprecated.Returns false. Though technically an interface, an annotation type is not considered an interface for this purpose. (For legacy doclets, returns true.)- Specified by:
isInterface
in interfaceDoc
- Overrides:
isInterface
in classClassDocImpl
- Returns:
- true if it represents a interface
-
methods
Deprecated.Returns an empty array, as all methods are annotation type elements. (For legacy doclets, returns the elements.)- Specified by:
methods
in interfaceClassDoc
- Overrides:
methods
in classClassDocImpl
- Parameters:
filter
- include only the included methods if filter==true- Returns:
- an array of MethodDocImpl for representing the visible methods in this class. Does not include constructors.
- See Also:
-
elements
Deprecated.Returns the elements of this annotation type. Returns an empty array if there are none. Elements are always public, so no need to filter them.- Specified by:
elements
in interfaceAnnotationTypeDoc
- Returns:
- the elements of this annotation type.
-