public class Cast extends Object implements AnnotationValue
Constructor and Description |
---|
Cast(JavaType type,
AnnotationValue value) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(ExpressionVisitor visitor)
Accept a visitor for this value.
|
String |
getParameterValue()
Get a parameter value for
JavaAnnotation.getNamedParameter(String) . |
JavaType |
getType() |
AnnotationValue |
getValue() |
String |
toString() |
public Cast(JavaType type, AnnotationValue value)
public JavaType getType()
public AnnotationValue getValue()
public Object accept(ExpressionVisitor visitor)
accept
in interface AnnotationValue
visitor
- Visitorpublic String getParameterValue()
JavaAnnotation.getNamedParameter(String)
.getParameterValue
in interface Expression
Copyright © 2002–2017. All rights reserved.