Class TreeUtilsAfterJava11.PatternCaseLabelUtils
java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.PatternCaseLabelUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic TreegetPattern(Tree patternCaseLabelTree) Wrapper aroundPatternCaseLabelTree#getPattern.static booleanisPatternCaseLabelTree(Tree tree) Returns whethertreeis aPatternCaseLabelTree.
-
Method Details
-
isPatternCaseLabelTree
Returns whethertreeis aPatternCaseLabelTree.- Parameters:
tree- a tree to check- Returns:
- true if
treeis aPatternCaseLabelTree
-
getPattern
-