< prev index next >
src/jdk.compiler/share/classes/com/sun/source/util/SimpleTreeVisitor.java
Print this page
rev 51104 : imported patch switch
*** 269,278 ****
--- 269,292 ----
* @param node {@inheritDoc}
* @param p {@inheritDoc}
* @return the result of {@code defaultAction}
*/
@Override
+ @Deprecated(forRemoval=true, since="12")
+ @SuppressWarnings("removal")
+ public R visitSwitchExpression(SwitchExpressionTree node, P p) {
+ return defaultAction(node, p);
+ }
+
+ /**
+ * {@inheritDoc} This implementation calls {@code defaultAction}.
+ *
+ * @param node {@inheritDoc}
+ * @param p {@inheritDoc}
+ * @return the result of {@code defaultAction}
+ */
+ @Override
public R visitCase(CaseTree node, P p) {
return defaultAction(node, p);
}
/**
< prev index next >