AddImportAction (PsiClass @NotNull [] classes, @NotNull Project project, @NotNull Editor editor) { return new AddImportAction(project, myReference, editor, classes) { @Override protected void bindReference(@NotNull PsiReference ref, @NotNull PsiClass targetClass) { ImportClassFixBase.this.bindReference(ref, targetClass); } }; }