public class TypeRef extends java.lang.Object implements AnnotationValue
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() |
java.lang.String |
toString() |
private JavaType type
public TypeRef(JavaType type)
public JavaType getType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object accept(ExpressionVisitor visitor)
accept
in interface AnnotationValue
visitor
- Visitorpublic java.lang.String getParameterValue()
JavaAnnotation.getNamedParameter(String)
.getParameterValue
in interface Expression