public static PsiReturnStatement @NotNull [] findReturnStatements(@Nullable PsiCodeBlock body) {
    List<PsiReturnStatement> vector = new ArrayList<>();
    if (body != null) {
      addStatements(vector, body, PsiReturnStatement.class, statement -> false);
    }
    return vector.toArray(PsiReturnStatement.EMPTY_ARRAY);
  }
public static PsiReturnStatement @NotNull [] findReturnStatements(@Nullable PsiCodeBlock body)