void (@NotNull final AnActionEvent e) { final PsiFile file = e.getData(CommonDataKeys.PSI_FILE); assert file != null && file.getLanguage() == GroovyLanguage.INSTANCE; doExcludeFromStubGeneration(file); }