< prev index next >

src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java

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

@@ -240,16 +240,16 @@
         SWITCH(SwitchTree.class),
 
         /**
          * Used for instances of {@link SwitchExpressionTree}.
          * 
-         * @apiNote
+         * @since 12
+         *
+         * @deprecated
          * This enum constant is modeling switch expressions,
          * which are part of a preview feature and may be removed
          * if the preview feature is removed.
-         * 
-         * @since 12
          */
         @Deprecated(forRemoval=true, since="12")
         @SuppressWarnings("removal")
         SWITCH_EXPRESSION(SwitchExpressionTree.class),
 
< prev index next >