void (@NotNull Project project, @NotNull Language fileLanguage) { InspectionProfileImpl profile = new InspectionProfileImpl("defaultInspections"); InspectionsKt.runInInitMode(() -> { replaceProfile(project, profile, fileLanguage); return null; }); }