src/share/classes/javax/lang/model/util/TypeKindVisitor7.java
Print this page
*** 92,108 ****
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);
}
}
--- 92,108 ----
protected TypeKindVisitor7(R defaultValue) {
super(defaultValue);
}
/**
! * This implementation visits a {@code UnionType} by calling
* {@code defaultAction}.
*
* @param t {@inheritDoc}
* @param p {@inheritDoc}
* @return the result of {@code defaultAction}
*/
@Override
! public R visitUnion(UnionType t, P p) {
return defaultAction(t, p);
}
}