@NotNull
  private static List<PsiStatement> unwrapBlock(@Nullable PsiStatement statement) {
    if(statement == null) return Collections.emptyList();
    PsiBlockStatement blockStatement = tryCast(statement, PsiBlockStatement.class);
    if(blockStatement == null) return Collections.singletonList(statement);
    return List.of(blockStatement.getCodeBlock().getStatements());
  }
@NotNull
  private static List<PsiStatement> unwrapBlock(@Nullable PsiStatement statement)