List<String> (Project project) { List<String> annotations = new ArrayList<>(); NullableNotNullManager manager = NullableNotNullManager.getInstance(project); annotations.addAll(manager.getNotNulls()); annotations.addAll(manager.getNullables()); annotations.add(AnnotationUtil.NLS); return annotations; }