src/jdk.compiler/share/classes/com/sun/source/util/SimpleTreeVisitor.java
changeset 55306 ea43db53de91
parent 51563 de411d537aae
child 58109 ee07de0d2c16
child 58713 ad69fd32778e
equal deleted inserted replaced
55305:6e432194ee97 55306:ea43db53de91
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   780      */
   780      */
   781     @Override
   781     @Override
   782     public R visitOther(Tree node, P p) {
   782     public R visitOther(Tree node, P p) {
   783         return defaultAction(node, p);
   783         return defaultAction(node, p);
   784     }
   784     }
       
   785 
       
   786     /**
       
   787      * {@inheritDoc} This implementation calls {@code defaultAction}.
       
   788      *
       
   789      * @param node {@inheritDoc}
       
   790      * @param p {@inheritDoc}
       
   791      * @return  the result of {@code defaultAction}
       
   792      */
       
   793     @Override
       
   794     @Deprecated(forRemoval=true, since="13")
       
   795     @SuppressWarnings("removal")
       
   796     public R visitYield(YieldTree node, P p) {
       
   797         return defaultAction(node, p);
       
   798     }
   785 }
   799 }