void (@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext) { if (elements.length == 1 && elements[0] instanceof PsiAnonymousClass) { invoke(project, CommonDataKeys.EDITOR.getData(dataContext), (PsiAnonymousClass)elements[0]); } }