public class Cast extends java.lang.Object implements AnnotationValue
| 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() |
public Cast(JavaType type, AnnotationValue value)
public JavaType getType()
public AnnotationValue getValue()
public java.lang.Object accept(ExpressionVisitor visitor)
accept in interface AnnotationValuevisitor - Visitorpublic java.lang.String getParameterValue()
JavaAnnotation.getNamedParameter(String).getParameterValue in interface Expressionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2018. All Rights Reserved.