| Package | Description | 
|---|---|
| oracle.javatools.parser.java.v2.common | Classes common to model implementations. | 
| oracle.javatools.parser.java.v2.model | The parser model API. | 
| oracle.jdeveloper.engine | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAnnotation | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaAnnotation | QuickJavaClass. getAnnotation(JavaType annotationType) | 
| JavaAnnotation | AbstractType. getAnnotation(JavaType annotationType) | 
| JavaAnnotation | AbstractElement. getAnnotation(JavaType annotationType) | 
| static JavaAnnotation | CommonUtilities. getAnnotation(JavaType target,
             JavaType annotationType) | 
| static JavaAnnotation | CommonUtilities. getDeclaredAnnotation(JavaHasAnnotations target,
                     JavaType annotationType) | 
| JavaAnnotation | QuickJavaClass. getDeclaredAnnotation(JavaType annotationType) | 
| JavaAnnotation | AbstractElement. getDeclaredAnnotation(JavaType annotationType) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<JavaAnnotation> | QuickJavaClass. getAnnotations() | 
| java.util.Collection<JavaAnnotation> | AbstractType. getAnnotations() | 
| java.util.Collection<JavaAnnotation> | AbstractElement. getAnnotations() | 
| static java.util.Collection<JavaAnnotation> | CommonUtilities. getAnnotations(JavaType target) | 
| java.util.Collection<JavaAnnotation> | WrapperPackage. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | WrapperMethod. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | WrapperLocalVariable. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | WrapperField. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | WrapperClass. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | QuickJavaClass. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | AbstractElement. getDeclaredAnnotations() | 
| java.util.Collection<JavaAnnotation> | AbstractMethod. getReceiverTypeAnnotations() | 
| java.util.Collection<JavaAnnotation> | WrapperClass. getTypeAnnotations() | 
| java.util.Collection<JavaAnnotation> | QuickJavaClass. getTypeAnnotations() | 
| java.util.Collection<JavaAnnotation> | AbstractType. getTypeAnnotations() | 
| Modifier and Type | Method and Description | 
|---|---|
| static SourceAnnotation | CommonUtilities. getSourceElement(JavaAnnotation target,
                SourceHasModifiers searchSpace) | 
| static boolean | CommonUtilities. isInheritedAnnotation(JavaAnnotation annotation)Does the incoming annotation have a java.lang.annotation.Inherited meta-annotation. | 
| static boolean | CommonUtilities. isTypeUseAnnotation(JavaAnnotation javaAnnotation,
                   boolean strict)Is this a type use annotation, which is an annotation annotated with @Target(TYPE_USE)
 meant to be used as a type annotation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JavaType | CommonUtilities. createAnnotatedJavaType(JavaType javaType,
                       java.util.List<JavaAnnotation> annotations)Given a JavaType and some annotations, create the appropriate
 annotated JavaType. | 
| static JavaType | CommonUtilities. createArrayType(JavaProvider provider,
               JavaType component,
               int dimensions,
               java.util.List<java.util.List<JavaAnnotation>> typeAnnotations) | 
| JavaType | SignatureHasType. getResolvedType(java.util.List<JavaAnnotation> javaAnnotations,
               java.util.Collection<oracle.javatools.parser.java.v2.classfile.ClassFile.TypeAnnotation> typeAnnotations) | 
| void | WrapperClass. setTypeAnnotations(java.util.List<JavaAnnotation> typeAnnotations) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SourceAnnotationAn annotation (not to be confused with annotation type). | 
| Modifier and Type | Field and Description | 
|---|---|
| static JavaAnnotation[] | JavaAnnotation. EMPTY_ARRAY | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaAnnotation | JavaHasAnnotations. getAnnotation(JavaType annotationType)Retrieves the annotation declared on this element that matches
 the input annotation type. | 
| JavaAnnotation | SourceAnnotation. getCompiledObject()Calls resolve() implicitly and determines the resolved JavaAnnotation. | 
| JavaAnnotation | JavaHasAnnotations. getDeclaredAnnotation(JavaType annotationType) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<JavaAnnotation> | JavaHasAnnotations. getAnnotations()Retrieves all the annotations declared on this element. | 
| java.util.Collection<JavaAnnotation> | JavaHasAnnotations. getDeclaredAnnotations()Retrieves all the annotations declared on this element. | 
| java.util.Collection<JavaAnnotation> | JavaMethod. getReceiverTypeAnnotations()Get the receiver annotations for this method. | 
| java.util.Collection<JavaAnnotation> | JavaType. getTypeAnnotations()Applies to elements that are used as a type reference which
 since JDK8 can be annotated. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JavaAnnotation | AnnotationUtils. getAnnotation(JavaElement javaElem,
             java.lang.String annoClass) | 
| static JavaAnnotation | EngineUtils. getJavaAnnotation(JavaElement javaElem,
                 java.lang.String annoClass)Deprecated. 
 use corresponding oracle.jdeveloper.engine.AnnotationUtils method | 
| static JavaAnnotation | AnnotationUtils. getJavaAnnotation(JavaElement javaElem,
                 java.lang.String annoClass) | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | AnnotationUtils. getAnnotationAttr(JavaAnnotation javaAnnotation,
                 java.lang.String attrName,
                 java.lang.String defaultValue) | 
| static java.lang.String | EngineUtils. getJavaAnnotationAttr(JavaAnnotation javaAnno,
                     java.lang.String attrName,
                     java.lang.String defaultValue)Deprecated. 
 use corresponding oracle.jdeveloper.engine.AnnotationUtils method | 
| static java.lang.String | AnnotationUtils. getJavaAnnotationAttr(JavaAnnotation javaAnno,
                     java.lang.String attrName,
                     java.lang.String defaultValue) |