String[] (@NotNull PsiFile file) { List<String> annotations = getCoreAnnotations(file.getProject()); annotations.addAll(JavaCodeStyleSettings.getInstance(file).getRepeatAnnotations()); return ArrayUtilRt.toStringArray(annotations); }