src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java
changeset 59285 7799a51dbe30
parent 59021 cfc7bb9a5a92
equal deleted inserted replaced
59284:88502b1cf76f 59285:7799a51dbe30
   218          * Used for instances of {@link ParenthesizedTree}.
   218          * Used for instances of {@link ParenthesizedTree}.
   219          */
   219          */
   220         PARENTHESIZED(ParenthesizedTree.class),
   220         PARENTHESIZED(ParenthesizedTree.class),
   221 
   221 
   222         /**
   222         /**
       
   223          * {@preview Associated with pattern matching for instanceof, a preview feature of
       
   224          *           the Java language.
       
   225          *
       
   226          *           This enum constant is associated with <i>pattern matching for instanceof</i>, a preview
       
   227          *           feature of the Java language. Preview features
       
   228          *           may be removed in a future release, or upgraded to permanent
       
   229          *           features of the Java language.}
       
   230          *
       
   231          * Used for instances of {@link BindingPatternTree}.
       
   232          *
       
   233          * @since 14
       
   234          */
       
   235         BINDING_PATTERN(BindingPatternTree.class),
       
   236 
       
   237         /**
   223          * Used for instances of {@link PrimitiveTypeTree}.
   238          * Used for instances of {@link PrimitiveTypeTree}.
   224          */
   239          */
   225         PRIMITIVE_TYPE(PrimitiveTypeTree.class),
   240         PRIMITIVE_TYPE(PrimitiveTypeTree.class),
   226 
   241 
   227         /**
   242         /**