1 7 8 package javax.lang.model.util; 9 10 import javax.lang.model.type.*; 11 12 45 public abstract class AbstractTypeVisitor6<R, P> implements TypeVisitor<R, P> { 46 49 protected AbstractTypeVisitor6() {} 50 51 61 public final R visit(TypeMirror t, P p) { 62 return t.accept(this, p); 63 } 64 65 74 public final R visit(TypeMirror t) { 75 return t.accept(this, null); 76 } 77 78 91 public R visitUnknown(TypeMirror t, P p) { 92 throw new UnknownTypeException(t, p); 93 } 94 } 95 | Popular Tags |