< prev index next >

src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java

Print this page

        

@@ -91,6 +91,22 @@
      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
      */
     protected TypeKindVisitor9(R defaultValue) {
         super(defaultValue);
     }
+
+    /**
+     * {@inheritDoc}
+     *
+     * @implSpec This implementation calls {@code defaultAction}.
+     *
+     * @param t {@inheritDoc}
+     * @param p {@inheritDoc}
+     * @return  the result of {@code defaultAction}
+     *
+     * @since 10
+     */
+    @Override
+    public R visitNoTypeAsModule(NoType t, P p) {
+        return defaultAction(t, p);
+    }
 }
< prev index next >