1 7 8 package javax.lang.model.element; 9 10 11 import java.util.List ; 12 13 import javax.lang.model.type.TypeMirror; 14 15 16 54 public interface AnnotationValueVisitor<R, P> { 55 61 R visit(AnnotationValue av, P p); 62 63 68 R visit(AnnotationValue av); 69 70 76 R visitBoolean(boolean b, P p); 77 78 84 R visitByte(byte b, P p); 85 86 92 R visitChar(char c, P p); 93 94 100 R visitDouble(double d, P p); 101 102 108 R visitFloat(float f, P p); 109 110 116 R visitInt(int i, P p); 117 118 124 R visitLong(long i, P p); 125 126 132 R visitShort(short s, P p); 133 134 140 R visitString(String s, P p); 141 142 148 R visitType(TypeMirror t, P p); 149 150 156 R visitEnumConstant(VariableElement c, P p); 157 158 164 R visitAnnotation(AnnotationMirror a, P p); 165 166 172 R visitArray(List <? extends AnnotationValue> vals, P p); 173 174 184 R visitUnknown(AnnotationValue av, P p); 185 } 186 | Popular Tags |