Package org.checkerframework.javacutil
Class TreeUtilsAfterJava11.PatternCaseLabelUtils
java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.PatternCaseLabelUtils
- Enclosing class:
- TreeUtilsAfterJava11
Utility methods for accessing 
PatternCaseLabelTree methods.- 
Method SummaryModifier and TypeMethodDescriptionstatic TreegetPattern(Tree patternCaseLabelTree) Wrapper aroundPatternCaseLabelTree#getPattern.static booleanisPatternCaseLabelTree(Tree tree) Returns whethertreeis aPatternCaseLabelTree.
- 
Method Details- 
isPatternCaseLabelTreeReturns whethertreeis aPatternCaseLabelTree.- Parameters:
- tree- a tree to check
- Returns:
- true if treeis aPatternCaseLabelTree
 
- 
getPatternWrapper aroundPatternCaseLabelTree#getPattern.- Parameters:
- patternCaseLabelTree- a PatternCaseLabelTree tree
- Returns:
- the PatternTreein thepatternCaseLabelTree
 
 
-