1 7 8 package javax.lang.model.type; 9 10 import javax.lang.model.element.*; 11 12 49 public interface TypeVisitor<R, P> { 50 56 R visit(TypeMirror t, P p); 57 58 63 R visit(TypeMirror t); 64 65 71 R visitPrimitive(PrimitiveType t, P p); 72 73 79 R visitNull(NullType t, P p); 80 81 87 R visitArray(ArrayType t, P p); 88 89 95 R visitDeclared(DeclaredType t, P p); 96 97 103 R visitError(ErrorType t, P p); 104 105 111 R visitTypeVariable(TypeVariable t, P p); 112 113 119 R visitWildcard(WildcardType t, P p); 120 121 127 R visitExecutable(ExecutableType t, P p); 128 129 135 R visitNoType(NoType t, P p); 136 137 147 R visitUnknown(TypeMirror t, P p); 148 } 149 | Popular Tags |