< prev index next >
src/jdk.compiler/share/classes/com/sun/source/tree/TreeVisitor.java
Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01
@@ -354,19 +354,19 @@
R visitSwitch(SwitchTree node, P p);
/**
* Visits a SwitchExpressionTree node.
*
- * @apiNote
- * This method is modeling switch expressions,
- * which are part of a preview feature and may be removed
- * if the preview feature is removed.
- *
* @param node the node being visited
* @param p a parameter value
* @return a result value
* @since 12
+ *
+ * @deprecated
+ * This method 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")
R visitSwitchExpression(SwitchExpressionTree node, P p);
< prev index next >