Module jdk.compiler

Interface PatternTree

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
  • Nested Class Summary

    Nested classes/interfaces declared in interface com.sun.source.tree.Tree

    Tree.Kind
  • Method Summary

    Methods declared in interface com.sun.source.tree.Tree

    accept, getKind