src/jdk.compiler/share/classes/com/sun/source/tree/Tree.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
   654 
   654 
   655         /**
   655         /**
   656          * An implementation-reserved node. This is the not the node
   656          * An implementation-reserved node. This is the not the node
   657          * you are looking for.
   657          * you are looking for.
   658          */
   658          */
   659         OTHER(null);
   659         OTHER(null),
       
   660 
       
   661         /**
       
   662          * Used for instances of {@link YieldTree}.
       
   663          *
       
   664          * @since 13
       
   665          *
       
   666          * @deprecated
       
   667          * This enum constant is modeling yield statement,
       
   668          * which are part of a preview feature and may be removed
       
   669          * if the preview feature is removed.
       
   670          */
       
   671         @Deprecated(forRemoval=true, since="13")
       
   672         @SuppressWarnings("removal")
       
   673         YIELD(YieldTree.class);
   660 
   674 
   661 
   675 
   662         Kind(Class<? extends Tree> intf) {
   676         Kind(Class<? extends Tree> intf) {
   663             associatedInterface = intf;
   677             associatedInterface = intf;
   664         }
   678         }