public abstract class EvaluatingVisitor extends Object implements AnnotationVisitor
Users of this class must override
getFieldReferenceValue(JavaField) to return values
for referenced fields.
| Constructor and Description |
|---|
EvaluatingVisitor() |
public Object getValue(Annotation annotation, String property)
public List getListValue(Annotation annotation, String property)
protected static Class resultType(Object left, Object right)
Performs binary numeric promotion as specified in the Java Language Specification,
protected static Class numericResultType(Object left, Object right)
Performs binary numeric promotion as specified in the Java Language Specification,
protected static Class unaryNumericResultType(Object value)
Performs unary numeric promotion as specified in the Java Language Specification,
public Object visitAnnotation(Annotation annotation)
visitAnnotation in interface AnnotationVisitorpublic Object visitAnnotationAdd(AnnotationAdd op)
visitAnnotationAdd in interface AnnotationVisitorpublic Object visitAnnotationConstant(AnnotationConstant constant)
visitAnnotationConstant in interface AnnotationVisitorpublic Object visitAnnotationDivide(AnnotationDivide op)
visitAnnotationDivide in interface AnnotationVisitorpublic Object visitAnnotationFieldRef(AnnotationFieldRef fieldRef)
visitAnnotationFieldRef in interface AnnotationVisitorpublic Object visitAnnotationGreaterThan(AnnotationGreaterThan op)
visitAnnotationGreaterThan in interface AnnotationVisitorpublic Object visitAnnotationLessThan(AnnotationLessThan op)
visitAnnotationLessThan in interface AnnotationVisitorpublic Object visitAnnotationMultiply(AnnotationMultiply op)
visitAnnotationMultiply in interface AnnotationVisitorpublic Object visitAnnotationParenExpression(AnnotationParenExpression parenExpression)
visitAnnotationParenExpression in interface AnnotationVisitorpublic Object visitAnnotationSubtract(AnnotationSubtract op)
visitAnnotationSubtract in interface AnnotationVisitorpublic Object visitAnnotationTypeRef(AnnotationTypeRef typeRef)
visitAnnotationTypeRef in interface AnnotationVisitorpublic Object visitAnnotationValueList(AnnotationValueList valueList)
visitAnnotationValueList in interface AnnotationVisitorpublic Object visitAnnotationAnd(AnnotationAnd and)
visitAnnotationAnd in interface AnnotationVisitorpublic Object visitAnnotationGreaterEquals(AnnotationGreaterEquals greaterEquals)
visitAnnotationGreaterEquals in interface AnnotationVisitorpublic Object visitAnnotationLessEquals(AnnotationLessEquals lessEquals)
visitAnnotationLessEquals in interface AnnotationVisitorpublic Object visitAnnotationLogicalAnd(AnnotationLogicalAnd and)
visitAnnotationLogicalAnd in interface AnnotationVisitorpublic Object visitAnnotationLogicalNot(AnnotationLogicalNot not)
visitAnnotationLogicalNot in interface AnnotationVisitorpublic Object visitAnnotationLogicalOr(AnnotationLogicalOr or)
visitAnnotationLogicalOr in interface AnnotationVisitorpublic Object visitAnnotationMinusSign(AnnotationMinusSign sign)
visitAnnotationMinusSign in interface AnnotationVisitorpublic Object visitAnnotationNot(AnnotationNot not)
visitAnnotationNot in interface AnnotationVisitorpublic Object visitAnnotationOr(AnnotationOr or)
visitAnnotationOr in interface AnnotationVisitorpublic Object visitAnnotationPlusSign(AnnotationPlusSign sign)
visitAnnotationPlusSign in interface AnnotationVisitorpublic Object visitAnnotationRemainder(AnnotationRemainder remainder)
visitAnnotationRemainder in interface AnnotationVisitorpublic Object visitAnnotationShiftLeft(AnnotationShiftLeft shiftLeft)
visitAnnotationShiftLeft in interface AnnotationVisitorpublic Object visitAnnotationShiftRight(AnnotationShiftRight shiftRight)
visitAnnotationShiftRight in interface AnnotationVisitorpublic Object visitAnnotationUnsignedShiftRight(AnnotationUnsignedShiftRight shiftRight)
visitAnnotationUnsignedShiftRight in interface AnnotationVisitorpublic Object visitAnnotationEquals(AnnotationEquals annotationEquals)
visitAnnotationEquals in interface AnnotationVisitorpublic Object visitAnnotationExclusiveOr(AnnotationExclusiveOr annotationExclusiveOr)
visitAnnotationExclusiveOr in interface AnnotationVisitorpublic Object visitAnnotationNotEquals(AnnotationNotEquals annotationNotEquals)
visitAnnotationNotEquals in interface AnnotationVisitorpublic Object visitAnnotationQuery(AnnotationQuery annotationQuery)
visitAnnotationQuery in interface AnnotationVisitorpublic Object visitAnnotationCast(AnnotationCast annotationCast)
visitAnnotationCast in interface AnnotationVisitorCopyright © 2002-2015. All Rights Reserved.