AnnotationValue
, Expression
public class TypeRef extends Object implements AnnotationValue
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() |
|
String |
toString() |
public TypeRef(JavaType type)
public JavaType getType()
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.