public class AnnotationCast extends java.lang.Object implements AnnotationValue
Modifier and Type | Field and Description |
---|---|
private Type |
type |
private AnnotationValue |
value |
Constructor and Description |
---|
AnnotationCast(Type type,
AnnotationValue value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(AnnotationVisitor visitor)
Accept a visitor for this value.
|
java.lang.Object |
getParameterValue()
Get a parameter value for
Annotation.getNamedParameter(String) . |
Type |
getType() |
AnnotationValue |
getValue() |
java.lang.String |
toString() |
private final Type type
private final AnnotationValue value
public AnnotationCast(Type type, AnnotationValue value)
public Type getType()
public AnnotationValue getValue()
public java.lang.Object accept(AnnotationVisitor visitor)
AnnotationValue
accept
in interface AnnotationValue
visitor
- Visitorpublic java.lang.Object getParameterValue()
AnnotationValue
Annotation.getNamedParameter(String)
.getParameterValue
in interface AnnotationValue
public java.lang.String toString()
toString
in class java.lang.Object