--- a/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java Mon Sep 09 11:43:16 2019 -0400
+++ b/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java Wed Nov 27 09:00:01 2019 +0100
@@ -220,6 +220,21 @@
PARENTHESIZED(ParenthesizedTree.class),
/**
+ * {@preview Associated with pattern matching for instanceof, a preview feature of
+ * the Java language.
+ *
+ * This enum constant is associated with <i>pattern matching for instanceof</i>, a preview
+ * feature of the Java language. Preview features
+ * may be removed in a future release, or upgraded to permanent
+ * features of the Java language.}
+ *
+ * Used for instances of {@link BindingPatternTree}.
+ *
+ * @since 14
+ */
+ BINDING_PATTERN(BindingPatternTree.class),
+
+ /**
* Used for instances of {@link PrimitiveTypeTree}.
*/
PRIMITIVE_TYPE(PrimitiveTypeTree.class),