public static class Attribute.Class 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) |
Type |
getValue()
Returns the value.
|
String |
toString()
Returns a string representation of this value.
|
getPosition, isSynthesized
public final Type classType
public void accept(Attribute.Visitor v)
public String toString()
AnnotationValue
toString
in interface AnnotationValue
toString
in class Object
public Type 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 © 2015. All rights reserved.