public static class Attribute.Compound extends Attribute implements AnnotationMirror
Attribute.Array, Attribute.Class, Attribute.Compound, Attribute.Constant, Attribute.Enum, Attribute.Error, Attribute.RetentionPolicy, Attribute.TypeCompound, Attribute.UnresolvedClass, Attribute.Visitor
Modifier and Type | Field and Description |
---|---|
List<Pair<Symbol.MethodSymbol,Attribute>> |
values
The attributes values, as pairs.
|
Constructor and Description |
---|
Compound(Type type,
List<Pair<Symbol.MethodSymbol,Attribute>> values) |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(AnnotationValueVisitor<R,P> v,
P p) |
void |
accept(Attribute.Visitor v) |
DeclaredType |
getAnnotationType() |
Map<Symbol.MethodSymbol,Attribute> |
getElementValues() |
TypeAnnotationPosition |
getPosition() |
Attribute.Compound |
getValue() |
boolean |
isSynthesized() |
Attribute |
member(Name member) |
void |
setSynthesized(boolean synthesized) |
String |
toString()
Returns a string representation of this annotation.
|
public final List<Pair<Symbol.MethodSymbol,Attribute>> values
public Compound(Type type, List<Pair<Symbol.MethodSymbol,Attribute>> values)
public boolean isSynthesized()
isSynthesized
in class Attribute
public void setSynthesized(boolean synthesized)
public void accept(Attribute.Visitor v)
public String toString()
toString
in interface AnnotationValue
toString
in class Object
public Attribute.Compound getValue()
getValue
in interface AnnotationValue
getValue
in class Attribute
public <R,P> R accept(AnnotationValueVisitor<R,P> v, P p)
accept
in interface AnnotationValue
accept
in class Attribute
public DeclaredType getAnnotationType()
getAnnotationType
in interface AnnotationMirror
public TypeAnnotationPosition getPosition()
getPosition
in class Attribute
public Map<Symbol.MethodSymbol,Attribute> getElementValues()
getElementValues
in interface AnnotationMirror
Copyright © 2017 earcam. All rights reserved.