< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/SimpleTreeVisitor.java

Print this page
rev 51104 : imported patch switch


 254     /**
 255      * {@inheritDoc} This implementation calls {@code defaultAction}.
 256      *
 257      * @param node {@inheritDoc}
 258      * @param p {@inheritDoc}
 259      * @return  the result of {@code defaultAction}
 260      */
 261     @Override
 262     public R visitSwitch(SwitchTree node, P p) {
 263         return defaultAction(node, p);
 264     }
 265 
 266     /**
 267      * {@inheritDoc} This implementation calls {@code defaultAction}.
 268      *
 269      * @param node {@inheritDoc}
 270      * @param p {@inheritDoc}
 271      * @return  the result of {@code defaultAction}
 272      */
 273     @Override














 274     public R visitCase(CaseTree node, P p) {
 275         return defaultAction(node, p);
 276     }
 277 
 278     /**
 279      * {@inheritDoc} This implementation calls {@code defaultAction}.
 280      *
 281      * @param node {@inheritDoc}
 282      * @param p {@inheritDoc}
 283      * @return  the result of {@code defaultAction}
 284      */
 285     @Override
 286     public R visitSynchronized(SynchronizedTree node, P p) {
 287         return defaultAction(node, p);
 288     }
 289 
 290     /**
 291      * {@inheritDoc} This implementation calls {@code defaultAction}.
 292      *
 293      * @param node {@inheritDoc}




 254     /**
 255      * {@inheritDoc} This implementation calls {@code defaultAction}.
 256      *
 257      * @param node {@inheritDoc}
 258      * @param p {@inheritDoc}
 259      * @return  the result of {@code defaultAction}
 260      */
 261     @Override
 262     public R visitSwitch(SwitchTree node, P p) {
 263         return defaultAction(node, p);
 264     }
 265 
 266     /**
 267      * {@inheritDoc} This implementation calls {@code defaultAction}.
 268      *
 269      * @param node {@inheritDoc}
 270      * @param p {@inheritDoc}
 271      * @return  the result of {@code defaultAction}
 272      */
 273     @Override
 274     @Deprecated(forRemoval=true, since="12")
 275     @SuppressWarnings("removal")
 276     public R visitSwitchExpression(SwitchExpressionTree node, P p) {
 277         return defaultAction(node, p);
 278     }
 279 
 280     /**
 281      * {@inheritDoc} This implementation calls {@code defaultAction}.
 282      *
 283      * @param node {@inheritDoc}
 284      * @param p {@inheritDoc}
 285      * @return  the result of {@code defaultAction}
 286      */
 287     @Override
 288     public R visitCase(CaseTree node, P p) {
 289         return defaultAction(node, p);
 290     }
 291 
 292     /**
 293      * {@inheritDoc} This implementation calls {@code defaultAction}.
 294      *
 295      * @param node {@inheritDoc}
 296      * @param p {@inheritDoc}
 297      * @return  the result of {@code defaultAction}
 298      */
 299     @Override
 300     public R visitSynchronized(SynchronizedTree node, P p) {
 301         return defaultAction(node, p);
 302     }
 303 
 304     /**
 305      * {@inheritDoc} This implementation calls {@code defaultAction}.
 306      *
 307      * @param node {@inheritDoc}


< prev index next >