< prev index next >
src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java
Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01
@@ -338,10 +338,15 @@
* {@inheritDoc} This implementation scans the children in left to right order.
*
* @param node {@inheritDoc}
* @param p {@inheritDoc}
* @return the result of scanning
+ *
+ * @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 >