PatternTree (Java SE 21 & JDK 21)
Description: declaration: module: jdk.compiler, package: com.sun.source.tree, interface: PatternTree
Keywords: com.sun.source.tree.PatternTree interface

Module jdk.compiler
Package com.sun.source.tree

# Interface PatternTree

All Superinterfaces:
  `Tree`

All Known Subinterfaces:
  `AnyPatternTreePREVIEW`, `BindingPatternTree`, `DeconstructionPatternTree`

public interface PatternTree extends Tree
A tree node used as the base class for the different kinds of patterns.

Since:
  16

- ## 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`