Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

javax.ide.model.java.declaration
Interface HasAnnotationsD

All Superinterfaces:
Declaration
All Known Subinterfaces:
ClassD, ConstructorD, ExecutableD, FieldD, LocalVariableD, MethodD, PackageD, ParameterD

public interface HasAnnotationsD
extends Declaration

Common supertype for Declaration elements that may have annotations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind
 
Method Summary
 java.util.Collection getAnnotations()
          Gets the annotations on this element.
 
Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic
 

Method Detail

getAnnotations

java.util.Collection getAnnotations()
Gets the annotations on this element.

Returns:
The collection of annotation declarations for the annotations on this element.

Collection of AnnotationDs.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.