Package org.checkerframework.javacutil
Class TreeUtilsAfterJava11.DeconstructionPatternUtils
java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.DeconstructionPatternUtils
- Enclosing class:
- TreeUtilsAfterJava11
Utility methods for accessing 
DeconstructionPatternTree methods.- 
Method SummaryModifier and TypeMethodDescriptionstatic ExpressionTreegetDeconstructor(Tree tree) Returns the deconstruction type oftree.getNestedPatterns(Tree tree) Wrapper aroundDeconstructionPatternTree#getNestedPatterns.
- 
Method Details- 
getDeconstructorReturns the deconstruction type oftree. Wrapper aroundDeconstructionPatternTree#getDeconstructor.- Parameters:
- tree- the DeconstructionPatternTree
- Returns:
- the deconstructor of DeconstructionPatternTree
 
- 
getNestedPatternsWrapper aroundDeconstructionPatternTree#getNestedPatterns.- Parameters:
- tree- the DeconstructionPatternTree
- Returns:
- the nested patterns of DeconstructionPatternTree
 
 
-