| java.lang.Object com.sun.tools.javadoc.DocImpl com.sun.tools.javadoc.ProgramElementDocImpl com.sun.tools.javadoc.ClassDocImpl com.sun.tools.javadoc.AnnotationTypeDocImpl
AnnotationTypeDocImpl | public class AnnotationTypeDocImpl extends ClassDocImpl implements AnnotationTypeDoc(Code) | | Represents an annotation type.
author: Scott Seligman version: 1.16 07/05/05 since: 1.5 |
Method Summary | |
public AnnotationTypeElementDoc[] | elements() Returns the elements of this annotation type. | public boolean | isAnnotationType() Returns true, as this is an annotation type. | public boolean | isInterface() Returns false. | public MethodDoc[] | methods(boolean filter) Returns an empty array, as all methods are annotation type elements. |
AnnotationTypeDocImpl | AnnotationTypeDocImpl(DocEnv env, ClassSymbol sym)(Code) | | |
elements | public AnnotationTypeElementDoc[] elements()(Code) | | 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.
|
isAnnotationType | public boolean isAnnotationType()(Code) | | Returns true, as this is an annotation type.
(For legacy doclets, return false.)
|
isInterface | public boolean isInterface()(Code) | | Returns false. Though technically an interface, an annotation
type is not considered an interface for this purpose.
(For legacy doclets, returns true.)
|
methods | public MethodDoc[] methods(boolean filter)(Code) | | Returns an empty array, as all methods are annotation type elements.
(For legacy doclets, returns the elements.)
See Also: AnnotationTypeDocImpl.elements() |
|
|