< 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,255 **** SWITCH(SwitchTree.class), /** * Used for instances of {@link SwitchExpressionTree}. * ! * @apiNote * 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), --- 240,255 ---- SWITCH(SwitchTree.class), /** * Used for instances of {@link SwitchExpressionTree}. * ! * @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. */ @Deprecated(forRemoval=true, since="12") @SuppressWarnings("removal") SWITCH_EXPRESSION(SwitchExpressionTree.class),
< prev index next >