boolean (DataContext dataContext) { final PsiElement element = PsiElementRenameHandler.getElement(dataContext); return element instanceof LombokLightClassBuilder || ((element instanceof LombokLightMethodBuilder || element instanceof LombokLightFieldBuilder) && element.getNavigationElement() instanceof PsiAnnotation); }