< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/SimpleTreeVisitor.java

Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01

@@ -267,10 +267,15 @@
      * {@inheritDoc} This implementation calls {@code defaultAction}.
      *
      * @param node {@inheritDoc}
      * @param p {@inheritDoc}
      * @return  the result of {@code defaultAction}
+     *
+     * @deprecated
+     * This method is modeling switch expressions,
+     * which are part of a preview feature and may be removed
+     * if the preview feature is removed.
      */
     @Override
     @Deprecated(forRemoval=true, since="12")
     @SuppressWarnings("removal")
     public R visitSwitchExpression(SwitchExpressionTree node, P p) {
< prev index next >