private static void resort(@NotNull SwitchStatement statement, @NotNull List<JavacReferenceFinder.FullCase> cases) {
      statement.getCaseStatements().clear();
      statement.getCaseStatements().addAll(cases.stream().map(t -> t.statement).toList());
      statement.getCaseEdges().clear();
      statement.getCaseEdges().addAll(cases.stream().map(t -> t.edges).toList());
      statement.getCaseValues().clear();
      statement.getCaseValues().addAll(cases.stream().map(t -> t.exprents).toList());
    }
private static void resort(@NotNull SwitchStatement statement, @NotNull List<JavacReferenceFinder.FullCase> cases)