This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| private class | Annotate.
This context contains all the information needed to synthesize new annotations trees for repeating annotations. |
| public static interface | |
| public static class | Annotate.
Represents the semantics of an Annotation Type. |
| public class | Annotate.
Visitor to determine a prototype annotation type for a class declaring an annotation type. |
| pack-priv class | |
| pack-priv static class | |
| private class | Annotate.
We need to use a TreeScanner, because it is not enough to visit the top-level annotations. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ListBuffer | |
| protected static final Context. | |
| private final Attr | |
| private int | blockCount
Semaphore to delay annotation processing |
| private final ConstFold | |
| private final Check | |
| private final Enter | |
| private int | |
| private final Log | |
| private final TreeMaker | |
| private final Names | |
| private ListBuffer | |
| private final Resolve | |
| private final String | |
| private final Symtab | |
| private Annotate. | |
| private final Attribute | |
| private final TypeEnvs | |
| private final Types | |
| pack-priv ListBuffer | |
| private ListBuffer |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | annotateDefaultValueLater(JCTree.
Queue processing of an attribute default value. |
| public void | annotateLater(List<JCTree.
the list of JCAnnotations to attribute and enter annotations,the enclosing env localEnv, Symbol the Symbol on which to enter the annotations s)Queue annotations for later attribution and entering. |
| private <T extends Attribute. | annotateNow(Symbol toAnnotate, List<JCTree.
Gather up annotations into a map from type symbols to lists of Compound attributes, then continue on with repeating annotations processing. |
| public void | annotateTypeParameterSecondStage(JCTree tree, List<JCTree.
Apply the annotations to the particular type. |
| public void | annotateTypeSecondStage(JCTree tree, List<JCTree.
Apply the annotations to the particular type. |
| public boolean | |
| public Annotate. | |
| private Attr. | |
| public Attribute. | attributeAnnotation(JCTree.
the tree representing an annotation tree,the expected (super)type of the annotation expectedAnnotationType, Env<AttrContext> the current env in where the annotation instance is found env)Attribute and store a semantic representation of the annotation tree |
| private Pair | attributeAnnotationNameValuePair(JCTree.
|
| private void | |
| private Attribute | attributeAnnotationValue(Type expectedElementType, JCTree.
Attribute an annotation element value |
| private List | attributeAnnotationValues(JCTree.
Attribute annotation elements creating a list of pairs of the Symbol representing that element and the value of that element as an Attribute. |
| public Attribute. | attributeTypeAnnotation(JCTree.
the tree representing an annotation a,the expected (super)type of the annotation expectedAnnotationType, Env<AttrContext> the current env in where the annotation instance is found env)Attribute and store a semantic representation of the type annotation tree |
| public void | |
| private void | |
| private void | enterDefaultValue(JCTree.
Enter a default value for an annotation element. |
| public void | |
| public void | enterTypeAnnotations(List<JCTree.
Attribute the list of annotations and enter them onto s. |
| private Type | extractContainingType(Attribute.
Extract the actual Type to be used for a containing annotation. |
| private Type | |
| public void | |
| public List | |
| private Attribute | |
| private Attribute | |
| private Attribute | |
| private Attribute | getAnnotationPrimitiveValue(Type expectedElementType, JCTree.
|
| private Type | getContainingType(Attribute.
Fetches the actual Type that should be the containing annotation. |
| public static Annotate | |
| private boolean | |
| private boolean | |
| private <T extends Attribute. | makeContainerAnnotation(List<T> toBeReplaced, Annotate.
|
| public void | |
| public void | |
| private <T extends Attribute. | processRepeatedAnnotations(List<T> annotations, Annotate.
|
| public void | queueScanTreeAndTypeAnnotate(JCTree tree, Env<AttrContext> env, Symbol sym)
Enqueue tree for scanning of type annotations, attaching to the Symbol sym. |
| public Annotate. | |
| private void | |
| public void | |
| public void | |
| public void | |
| public Attribute | |
| public void | |
| private Symbol. | validateContainer(Type targetContainerType, Type originalAnnoType, JCDiagnostic.
|