| Package | Description | 
|---|---|
| oracle.javatools.parser.java.v2 | 
 The parser API. 
 | 
| oracle.javatools.parser.java.v2.common | 
 Classes common to model implementations. 
 | 
| oracle.javatools.parser.java.v2.model | 
 The parser model API. 
 | 
| oracle.javatools.parser.java.v2.model.expression | 
 The parser model API for expressions. 
 | 
| oracle.javatools.parser.java.v2.util | 
 Various utilities for use with the parser. 
 | 
| oracle.jdeveloper.engine | 
| Modifier and Type | Method and Description | 
|---|---|
SourceAnnotation | 
SourceFactory.createAnnotation(SourceTypeReference type)
Creates an annotation (but not an annotation type). 
 | 
abstract SourceAnnotation | 
SourceFactory.createAnnotation(SourceTypeReference type, SourceListExpression arguments)
Creates an annotation (but not an annotation type). 
 | 
SourceAnnotation | 
SourceFactory.createAnnotation(java.lang.String name)
Creates an annotation (but not an annotation type). 
 | 
abstract SourceAnnotation | 
SourceFactory.createAnnotation(java.lang.String name, SourceListExpression arguments)
Creates an annotation (but not an annotation type). 
 | 
abstract SourceAnnotation | 
SourceFactory.createAnnotationFromText(java.lang.String text)
Attempts to create an annotation with the given text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SourceAnnotationExpression | 
SourceFactory.createAnnotationExpression(SourceAnnotation arg)
Creates an argument list with one argument. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SourceAnnotation | 
CommonUtilities.getSourceElement(JavaAnnotation target, SourceHasModifiers searchSpace)  | 
| Modifier and Type | Field and Description | 
|---|---|
static SourceAnnotation[] | 
SourceAnnotation.EMPTY_ARRAY  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<SourceAnnotation> | 
SourceTypeReference.getSourceAnnotations()
Gets the list of annotations on this type reference. 
 | 
java.util.List<SourceAnnotation> | 
SourceTypeParameter.getSourceAnnotations()
Gets the list of annotations. 
 | 
java.util.List<SourceAnnotation> | 
SourceHasModifiers.getSourceAnnotations()
Gets the list of annotations. 
 | 
java.util.List<SourceAnnotation> | 
SourceMethod.getSourceReceiverAnnotations()
Get the receiver annotations for this method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SourceAnnotation | 
SourceAnnotationExpression.getSourceAnnotation()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Usages.useTypeInAnnotation(SourceAnnotation s, JavaType type)
Usage of a type in an annotation. 
 | 
void | 
SourceVisitor.whenEnterAnnotation(SourceAnnotation sourceAnnotation)  | 
void | 
SourceVisitor.whenExitAnnotation(SourceAnnotation sourceAnnotation)  | 
| Modifier and Type | Method and Description | 
|---|---|
static SourceAnnotation | 
AnnotationUtils.addAnnotation(SourceElement srcElem, java.lang.String annoClass, java.util.List exprs)  | 
static SourceAnnotation | 
AnnotationUtils.addAnnotationFromText(SourceElement srcElem, java.lang.String annoClass, java.lang.String text)  | 
static SourceAnnotation | 
EngineUtils.getSourceAnnotation(SourceElement srcElem, java.lang.String annoClass)
Deprecated. 
 
use corresponding oracle.jdeveloper.engine.AnnotationUtils method 
 | 
static SourceAnnotation | 
AnnotationUtils.getSourceAnnotation(SourceElement srcElem, java.lang.String annoClass)  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
EngineUtils.getSourceAnnotationAttr(SourceAnnotation srcAnno, java.lang.String attrName, java.lang.String defaultValue)
Deprecated. 
 
use corresponding oracle.jdeveloper.engine.AnnotationUtils method 
 | 
static java.lang.String | 
AnnotationUtils.getSourceAnnotationAttr(SourceAnnotation srcAnno, java.lang.String attrName, java.lang.String defaultValue)  |