Package | Description |
---|---|
com.sun.tools.javac.comp | |
com.sun.tools.javac.parser | |
com.sun.tools.javac.tree |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Check.isTypeAnnotation(JCTree.JCAnnotation a,
boolean isTypeParameter)
Is the annotation applicable to types?
|
boolean |
Check.validateAnnotationDeferErrors(JCTree.JCAnnotation a)
Check an annotation value.
|
void |
Check.validateTypeAnnotation(JCTree.JCAnnotation a,
boolean isTypeParameter) |
void |
Attr.visitAnnotation(JCTree.JCAnnotation tree) |
void |
Lower.visitAnnotation(JCTree.JCAnnotation tree) |
void |
TransTypes.visitAnnotation(JCTree.JCAnnotation tree) |
Modifier and Type | Method and Description |
---|---|
void |
Attr.annotateType(JCTree tree,
List<JCTree.JCAnnotation> annotations)
Apply the annotations to the particular type.
|
void |
Check.validateAnnotations(List<JCTree.JCAnnotation> annotations,
Symbol s)
Check the annotations of a symbol.
|
void |
Check.validateTypeAnnotations(List<JCTree.JCAnnotation> annotations,
boolean isTypeParameter)
Check the type annotations.
|
Modifier and Type | Method and Description |
---|---|
JCTree.JCExpression |
JavacParser.parseType(List<JCTree.JCAnnotation> annotations) |
Modifier and Type | Field and Description |
---|---|
List<JCTree.JCAnnotation> |
JCTree.JCAnnotatedType.annotations |
List<JCTree.JCAnnotation> |
JCTree.JCModifiers.annotations |
List<JCTree.JCAnnotation> |
JCTree.JCNewArray.annotations |
List<JCTree.JCAnnotation> |
JCTree.JCTypeParameter.annotations
type annotations on type parameter
|
List<List<JCTree.JCAnnotation>> |
JCTree.JCNewArray.dimAnnotations |
List<JCTree.JCAnnotation> |
JCTree.JCCompilationUnit.packageAnnotations |
Modifier and Type | Method and Description |
---|---|
JCTree.JCAnnotation |
JCTree.Factory.Annotation(JCTree annotationType,
List<JCTree.JCExpression> args) |
JCTree.JCAnnotation |
TreeMaker.Annotation(Attribute a)
Create an annotation tree from an attribute.
|
JCTree.JCAnnotation |
TreeMaker.Annotation(JCTree annotationType,
List<JCTree.JCExpression> args) |
JCTree.JCAnnotation |
TreeMaker.TypeAnnotation(Attribute a) |
JCTree.JCAnnotation |
TreeMaker.TypeAnnotation(JCTree annotationType,
List<JCTree.JCExpression> args) |
Modifier and Type | Method and Description |
---|---|
List<JCTree.JCAnnotation> |
TreeMaker.Annotations(List<Attribute.Compound> attributes)
Create annotation trees from annotations.
|
List<JCTree.JCAnnotation> |
JCTree.JCAnnotatedType.getAnnotations() |
List<JCTree.JCAnnotation> |
JCTree.JCModifiers.getAnnotations() |
List<JCTree.JCAnnotation> |
JCTree.JCNewArray.getAnnotations() |
List<JCTree.JCAnnotation> |
JCTree.JCTypeParameter.getAnnotations() |
List<List<JCTree.JCAnnotation>> |
JCTree.JCNewArray.getDimAnnotations() |
List<JCTree.JCAnnotation> |
JCTree.JCCompilationUnit.getPackageAnnotations() |
List<JCTree.JCAnnotation> |
TreeTranslator.translateAnnotations(List<JCTree.JCAnnotation> trees)
Visitor method: translate a list of catch clauses in try statements.
|
Modifier and Type | Method and Description |
---|---|
void |
JCTree.Visitor.visitAnnotation(JCTree.JCAnnotation that) |
void |
Pretty.visitAnnotation(JCTree.JCAnnotation tree) |
void |
TreeScanner.visitAnnotation(JCTree.JCAnnotation tree) |
void |
TreeTranslator.visitAnnotation(JCTree.JCAnnotation tree) |
Constructor and Description |
---|
JCAnnotatedType(List<JCTree.JCAnnotation> annotations,
JCTree.JCExpression underlyingType) |
JCCompilationUnit(List<JCTree.JCAnnotation> packageAnnotations,
JCTree.JCExpression pid,
List<JCTree> defs,
JavaFileObject sourcefile,
Symbol.PackageSymbol packge,
Scope.ImportScope namedImportScope,
Scope.StarImportScope starImportScope) |
JCModifiers(long flags,
List<JCTree.JCAnnotation> annotations) |
Copyright © 2017 earcam. All rights reserved.