public static class Attribute.Enum extends Attribute
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 |
---|---|
Symbol.VarSymbol |
value |
Constructor and Description |
---|
Enum(Type type,
Symbol.VarSymbol value) |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(AnnotationValueVisitor<R,P> v,
P p) |
void |
accept(Attribute.Visitor v) |
Symbol.VarSymbol |
getValue() |
String |
toString() |
getPosition, isSynthesized
public Symbol.VarSymbol value
public Enum(Type type, Symbol.VarSymbol value)
public void accept(Attribute.Visitor v)
public String toString()
toString
in interface AnnotationValue
toString
in class Object
public Symbol.VarSymbol 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
Copyright © 2017 earcam. All rights reserved.