APIdia Launch Partner
Top Description Methods
com.sun.source.tree

public Interface DeconstructionPatternTree

extends PatternTree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCRecordPattern
Imports
java.util.List

A deconstruction pattern tree.
Since
21

Method Summary

Modifier and TypeMethod and Description
public ExpressionTree

Returns:

the deconstructed type
getDeconstructor
()

Returns the deconstructed type.

public List<? extends PatternTree>

Returns:

the nested patterns.
getNestedPatterns
()

Returns the nested patterns.

Method Detail

getDeconstructorback to summary
public ExpressionTree getDeconstructor()

Returns the deconstructed type.

Returns:ExpressionTree

the deconstructed type

getNestedPatternsback to summary
public List<? extends PatternTree> getNestedPatterns()

Returns the nested patterns.

Returns:List<? extends PatternTree>

the nested patterns.