Package org.checkerframework.javacutil
Class TreeUtilsAfterJava11.DeconstructionPatternUtils
java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.DeconstructionPatternUtils
- Enclosing class:
TreeUtilsAfterJava11
@Deprecated(forRemoval=true,
since="4.0.0")
public static class TreeUtilsAfterJava11.DeconstructionPatternUtils
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Utility methods for accessing
DeconstructionPatternTree methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionTreegetDeconstructor(Tree tree) Deprecated, for removal: This API element is subject to removal in a future version.getNestedPatterns(Tree tree) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getDeconstructor
@Deprecated(forRemoval=true, since="4.0.0") public static ExpressionTree getDeconstructor(Tree tree) Deprecated, for removal: This API element is subject to removal in a future version.Returns the deconstruction type oftree. Wrapper aroundDeconstructionPatternTree#getDeconstructor.- Parameters:
tree- the DeconstructionPatternTree- Returns:
- the deconstructor of
DeconstructionPatternTree
-
getNestedPatterns
@Deprecated(forRemoval=true, since="4.0.0") public static List<? extends Tree> getNestedPatterns(Tree tree) Deprecated, for removal: This API element is subject to removal in a future version.Wrapper aroundDeconstructionPatternTree#getNestedPatterns.- Parameters:
tree- the DeconstructionPatternTree- Returns:
- the nested patterns of
DeconstructionPatternTree
-
TreeUtilsAfterJava17.DeconstructionPatternUtils.getDeconstructor(Tree)