com.thoughtworks.qdox.model.annotation
Class EvaluatingVisitor
public abstract
class
EvaluatingVisitor
extends Object
implements AnnotationVisitor
Visitor that evaluates annotation expressions.
Users of this class must override
getFieldReferenceValue to return values
for referenced fields.
Author: Jochen Kuhnle
protected abstract Object getFieldReferenceValue(
JavaField javaField)
public List getListValue(
Annotation annotation, String property)
public Object getValue(
Annotation annotation, String property)
protected static Class numericResultType(Object left, Object right)
Return the numeric result type of a binary operator
Performs binary numeric promotion as specified in the Java Language
Specification,
See Also: section 5.6.1
protected static Class resultType(Object left, Object right)
Return the result type of a binary operator
Performs binary numeric promotion as specified in the Java Language
Specification,
See Also: section 5.6.1
protected static Class unaryNumericResultType(Object value)
Return the result type of an unary operator
Performs unary numeric promotion as specified in the Java Language
Specification,
See Also: section 5.6.2
protected static Class unaryResultType(Object value)
public Object visitAnnotation(
Annotation annotation)