| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaHasAnnotations
All runtime annotations are provided, both visible and invisible. That is, all annotations with @Retention values of CLASS and RUNTIME are returned. Annotations with a @Retention value of SOURCE is returned only if and only if source for this element is available.
Note: @Retention values for annotations on local variables that are not formal parameters are implicitly SOURCE.
| Field Summary | 
|---|
| Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaElement | 
|---|
EMPTY_ARRAY | 
| Method Summary | |
|---|---|
 JavaAnnotation | 
getAnnotation(JavaType annotationType)
Retrieves the annotation declared on this element that matches the input annotation type.  | 
 java.util.Collection<JavaAnnotation> | 
getAnnotations()
Retrieves all the annotations declared on this element.  | 
 JavaAnnotation | 
getDeclaredAnnotation(JavaType annotationType)
 | 
 java.util.Collection<JavaAnnotation> | 
getDeclaredAnnotations()
Retrieves all the annotations declared on this element.  | 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement | 
|---|
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo | 
| Method Detail | 
|---|
java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
java.util.Collection<JavaAnnotation> getAnnotations()
JavaAnnotation getDeclaredAnnotation(JavaType annotationType)
JavaAnnotation getAnnotation(JavaType annotationType)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||