boolean (@NotNull PsiElement element, @NotNull final Editor editor, @NotNull PsiFile file, @NotNull DataContext context) { if (element instanceof PsiIdentifier) { element = element.getParent(); } return element instanceof PsiTypeParameterListOwner && MakeStaticHandler.validateTarget((PsiTypeParameterListOwner) element) == null; }