- java.lang.Object
-
- com.thoughtworks.qdox.model.expression.TypeRef
-
- All Implemented Interfaces:
AnnotationValue
,Expression
public class TypeRef extends Object implements AnnotationValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(ExpressionVisitor visitor)
Accept a visitor for this value.String
getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.JavaType
getType()
String
toString()
-
-
-
Constructor Detail
-
TypeRef
public TypeRef(JavaType type)
-
-
Method Detail
-
getType
public JavaType getType()
-
accept
public Object accept(ExpressionVisitor visitor)
Accept a visitor for this value.- Specified by:
accept
in interfaceAnnotationValue
- Parameters:
visitor
- Visitor- Returns:
- Visitor result
-
getParameterValue
public String getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.- Specified by:
getParameterValue
in interfaceExpression
- Returns:
- Parameter value
-
-