IntentionPreviewInfo (@NotNull Project project, @NotNull ProblemDescriptor previewDescriptor) { if (ignoredErrors.contains(myCode)) return IntentionPreviewInfo.EMPTY; ArrayList<String> updated = new ArrayList<>(ignoredErrors); updated.add(myCode); return IntentionPreviewInfo.addListOption(updated, myCode, PyPsiBundle.message("INSP.pep8.naming.column.name.ignored.errors")); }