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

changeset 969
8cc5b440fdde
parent 851
cad51b6eb7a6
child 1054
111bbf1ad913
equal deleted inserted replaced
960:26b065bb4ee7 969:8cc5b440fdde
92 protected TypeKindVisitor7(R defaultValue) { 92 protected TypeKindVisitor7(R defaultValue) {
93 super(defaultValue); 93 super(defaultValue);
94 } 94 }
95 95
96 /** 96 /**
97 * This implementation visits a {@code DisjunctiveType} by calling 97 * This implementation visits a {@code UnionType} by calling
98 * {@code defaultAction}. 98 * {@code defaultAction}.
99 * 99 *
100 * @param t {@inheritDoc} 100 * @param t {@inheritDoc}
101 * @param p {@inheritDoc} 101 * @param p {@inheritDoc}
102 * @return the result of {@code defaultAction} 102 * @return the result of {@code defaultAction}
103 */ 103 */
104 @Override 104 @Override
105 public R visitDisjunctive(DisjunctiveType t, P p) { 105 public R visitUnion(UnionType t, P p) {
106 return defaultAction(t, p); 106 return defaultAction(t, p);
107 } 107 }
108 } 108 }

mercurial