AnnotationValue
, Expression
public class Cast extends Object implements AnnotationValue
Constructor | Description |
---|---|
Cast(JavaType type,
AnnotationValue value) |
Modifier and Type | Method | 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–2018. All rights reserved.