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

changeset 2184
e39bd9401ea5
parent 1522
09f65aad4759
child 2525
2eb010b6cb22
equal deleted inserted replaced
2183:75c8cde12ab6 2184:e39bd9401ea5
99 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} 99 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
100 */ 100 */
101 protected TypeKindVisitor8(R defaultValue) { 101 protected TypeKindVisitor8(R defaultValue) {
102 super(defaultValue); 102 super(defaultValue);
103 } 103 }
104
105 /**
106 * This implementation visits an {@code IntersectionType} by calling
107 * {@code defaultAction}.
108 *
109 * @param t {@inheritDoc}
110 * @param p {@inheritDoc}
111 * @return the result of {@code defaultAction}
112 */
113 @Override
114 public R visitIntersection(IntersectionType t, P p) {
115 return defaultAction(t, p);
116 }
104 } 117 }

mercurial