Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface AnnotationTypeDeclaration

All Superinterfaces:
Declaration, InterfaceDeclaration, MemberDeclaration, TypeDeclaration

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in TypeElement.

@Deprecated
public interface AnnotationTypeDeclaration
extends InterfaceDeclaration

Represents the declaration of an annotation type.

Since:
1.5

Method Summary
Modifier and Type Method and Description
 Collection<AnnotationTypeElementDeclaration> getMethods()
          Deprecated. Returns the annotation type elements of this annotation type.
 
Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces
 
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration
getDeclaringType
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Method Detail

getMethods

Collection<AnnotationTypeElementDeclaration> getMethods()
Deprecated. 
Returns the annotation type elements of this annotation type. These are the methods that are directly declared in the type's declaration.

Specified by:
getMethods in interface TypeDeclaration
Returns:
the annotation type elements of this annotation type, or an empty collection if there are none
See Also:
DeclarationFilter

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.