src/share/classes/javax/lang/model/util/TypeKindVisitor7.java

Print this page

        

*** 90,95 **** --- 90,108 ---- * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} */ protected TypeKindVisitor7(R defaultValue) { super(defaultValue); } + + /** + * This implementation visits a {@code DisjunctiveType} by calling + * {@code defaultAction}. + * + * @param t {@inheritDoc} + * @param p {@inheritDoc} + * @return the result of {@code defaultAction} + */ + @Override + public R visitDisjunctive(DisjunctiveType t, P p) { + return defaultAction(t, p); + } }