Package | Description |
---|---|
com.sun.tools.javac.code | |
com.sun.tools.javac.comp | |
com.sun.tools.javac.model | |
com.sun.tools.javac.tree |
Modifier and Type | Class and Description |
---|---|
static class |
Attribute.TypeCompound |
Modifier and Type | Method and Description |
---|---|
Attribute.Compound |
Symbol.attribute(Symbol anno)
Fetch a particular annotation from a symbol.
|
protected <A extends Annotation> |
AnnoConstruct.getAttribute(Class<A> annoType) |
protected <A extends Annotation> |
Symbol.ClassSymbol.getAttribute(Class<A> annoType) |
<A extends Annotation> |
Symbol.TypeVariableSymbol.getAttribute(Class<A> annoType) |
Attribute.Compound |
Attribute.Compound.getValue() |
Modifier and Type | Method and Description |
---|---|
abstract List<? extends Attribute.Compound> |
AnnoConstruct.getAnnotationMirrors() |
List<Attribute.Compound> |
Symbol.getAnnotationMirrors()
This is the implementation for
javax.lang.model.element.Element.getAnnotationMirrors() . |
List<Attribute.Compound> |
Symbol.TypeVariableSymbol.getAnnotationMirrors() |
List<Attribute.Compound> |
Symbol.getDeclarationAttributes() |
List<Attribute.Compound> |
SymbolMetadata.getDeclarationAttributes() |
List<Attribute.Compound> |
Symbol.ClassSymbol.getRawAttributes() |
List<Attribute.Compound> |
Symbol.getRawAttributes()
An accessor method for the attributes of this symbol.
|
List<Attribute.Compound> |
Symbol.PackageSymbol.getRawAttributes() |
Modifier and Type | Method and Description |
---|---|
TypeAnnotations.AnnotationType |
TypeAnnotations.annotationType(Attribute.Compound a,
Symbol s)
Determine whether an annotation is a declaration annotation,
a type annotation, or both.
|
Lint |
Lint.augment(Attribute.Compound attr)
Returns the result of combining the values in this object with
the given annotation.
|
Attribute.RetentionPolicy |
Types.getRetention(Attribute.Compound a) |
void |
Attribute.Visitor.visitCompound(Attribute.Compound compound) |
void |
Lint.AugmentVisitor.visitCompound(Attribute.Compound compound) |
Modifier and Type | Method and Description |
---|---|
SymbolMetadata |
SymbolMetadata.append(List<Attribute.Compound> l) |
void |
Symbol.appendAttributes(List<Attribute.Compound> l) |
SymbolMetadata |
SymbolMetadata.prepend(List<Attribute.Compound> l) |
void |
Symbol.prependAttributes(List<Attribute.Compound> l) |
void |
Symbol.setDeclarationAttributes(List<Attribute.Compound> a) |
void |
SymbolMetadata.setDeclarationAttributes(List<Attribute.Compound> a) |
void |
Symbol.setDeclarationAttributesWithCompletion(Annotate.AnnotateRepeatedContext<Attribute.Compound> ctx) |
void |
SymbolMetadata.setDeclarationAttributesWithCompletion(Annotate.AnnotateRepeatedContext<Attribute.Compound> ctx) |
Constructor and Description |
---|
TypeCompound(Attribute.Compound compound,
TypeAnnotationPosition position) |
Modifier and Type | Class and Description |
---|---|
class |
Annotate.AnnotateRepeatedContext<T extends Attribute.Compound>
This context contains all the information needed to synthesize new
annotations trees by the completer for repeating annotations.
|
Modifier and Type | Method and Description |
---|---|
void |
Check.validateRepeatable(Symbol.TypeSymbol s,
Attribute.Compound repeatable,
JCDiagnostic.DiagnosticPosition pos)
Validate the proposed container 'repeatable' on the
annotation type symbol 's'.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute.Compound> |
JavacElements.getAllAnnotationMirrors(Element e)
Returns all annotations of an element, whether
inherited or directly present.
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
AnnotationProxyMaker.generateAnnotation(Attribute.Compound anno,
Class<A> annoType)
Returns a dynamic proxy for an annotation mirror.
|
Modifier and Type | Field and Description |
---|---|
Attribute.Compound |
JCTree.JCAnnotation.attribute |
Modifier and Type | Method and Description |
---|---|
List<JCTree.JCAnnotation> |
TreeMaker.Annotations(List<Attribute.Compound> attributes)
Create annotation trees from annotations.
|
Copyright © 2017 earcam. All rights reserved.