- All Superinterfaces:
PatternTree
, Tree
public interface DeconstructionPatternTree
extends PatternTree
A deconstruction pattern tree.
- Since:
- 21
-
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.tree.Tree
Tree.Kind
-
Method Summary
Returns the deconstructed type.
Returns the nested patterns.
-
Method Details
-
getDeconstructor
Returns the deconstructed type.
- Returns:
- the deconstructed type
-
getNestedPatterns
Returns the nested patterns.
- Returns:
- the nested patterns.