com.thoughtworks.qdox.model.annotation
Class AnnotationCast
java.lang.Object
com.thoughtworks.qdox.model.annotation.AnnotationCast
- All Implemented Interfaces:
- AnnotationValue
public class AnnotationCast
- extends java.lang.Object
- implements AnnotationValue
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
private final Type type
value
private final AnnotationValue value
AnnotationCast
public AnnotationCast(Type type,
AnnotationValue value)
getType
public Type getType()
getValue
public AnnotationValue getValue()
accept
public java.lang.Object accept(AnnotationVisitor visitor)
- Description copied from interface:
AnnotationValue
- Accept a visitor for this value.
- Specified by:
accept
in interface AnnotationValue
- Parameters:
visitor
- Visitor
- Returns:
- Visitor result
getParameterValue
public java.lang.Object getParameterValue()
- Description copied from interface:
AnnotationValue
- Get a parameter value for
Annotation.getNamedParameter(String)
.
- Specified by:
getParameterValue
in interface AnnotationValue
- Returns:
- Parameter value
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object