Package org.checkerframework.javacutil
Class TreeUtilsAfterJava11.ConstantCaseLabelUtils
java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.ConstantCaseLabelUtils
- Enclosing class:
- TreeUtilsAfterJava11
Utility methods for accessing 
ConstantCaseLabelTree methods.- 
Method SummaryModifier and TypeMethodDescriptionstatic ExpressionTreegetConstantExpression(Tree constantCaseLabelTree) Wrapper aroundConstantCaseLabelTree#getConstantExpression.static booleanisConstantCaseLabelTree(Tree tree) Returns true iftreeis aConstantCaseLabelTree.
- 
Method Details- 
isConstantCaseLabelTreeReturns true iftreeis aConstantCaseLabelTree.- Parameters:
- tree- a tree to check
- Returns:
- true if treeis aConstantCaseLabelTree
 
- 
getConstantExpressionWrapper aroundConstantCaseLabelTree#getConstantExpression.- Parameters:
- constantCaseLabelTree- a ConstantCaseLabelTree tree
- Returns:
- the expression in the constantCaseLabelTree
 
 
-