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