Class TreeUtilsAfterJava11.ConstantCaseLabelUtils

java.lang.Object
org.checkerframework.javacutil.TreeUtilsAfterJava11.ConstantCaseLabelUtils
Enclosing class:
TreeUtilsAfterJava11

public static class TreeUtilsAfterJava11.ConstantCaseLabelUtils extends Object
Utility methods for accessing ConstantCaseLabelTree methods.
  • Method Details

    • getConstantExpression

      public static ExpressionTree getConstantExpression(Tree constantCaseLabelTree)
      Wrapper around ConstantCaseLabelTree#getConstantExpression.
      Parameters:
      constantCaseLabelTree - a ConstantCaseLabelTree tree
      Returns:
      the expression in the constantCaseLabelTree