@NotNull
  private List<ReturnValue> findValueInSwitchBlock(@NotNull LighterASTNode expr) {
    var visitor = new RecursiveLighterASTNodeWalkingVisitor(tree) {
      private final List<ReturnValue> values = new ArrayList<>();

      @Override
      public void visitNode(LighterASTNode element) {
        IElementType type = element.getTokenType();
        if (type == YIELD_STATEMENT) {
          values.add(getExpressionValue(findExpressionChild(tree, element)));
          return;
        }
        if (ElementType.JAVA_STATEMENT_BIT_SET.contains(type) || type == CODE_BLOCK) {
          super.visitNode(element);
        }
      }
    };
    visitor.visitNode(expr);
    return visitor.values;
  }
@NotNull
  private List<ReturnValue> findValueInSwitchBlock(@NotNull LighterASTNode expr)