- All Superinterfaces:
Tree
- All Known Subinterfaces:
BindingPatternTree
public interface PatternTree extends Tree
This interface is associated with pattern matching for instanceof, 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.
A tree node used as the base class for the different kinds of statements.
- Since:
- 14