public static class Attribute.Error 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 | Method and Description |
---|---|
<R,P> R |
accept(AnnotationValueVisitor<R,P> v,
P p)
Applies a visitor to this value.
|
void |
accept(Attribute.Visitor v) |
String |
getValue()
Returns the value.
|
String |
toString()
Returns a string representation of this value.
|
getPosition, isSynthesized
public Error(Type type)
public void accept(Attribute.Visitor v)
public String toString()
AnnotationValue
toString
in interface AnnotationValue
toString
in class Object
public String getValue()
AnnotationValue
getValue
in interface AnnotationValue
getValue
in class Attribute
public <R,P> R accept(AnnotationValueVisitor<R,P> v, P p)
AnnotationValue
accept
in interface AnnotationValue
accept
in class Attribute
R
- the return type of the visitor's methodsP
- the type of the additional parameter to the visitor's methodsv
- the visitor operating on this valuep
- additional parameter to the visitorCopyright © 2016. All rights reserved.