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 } |