boolean (@NotNull DataContext dataContext) { final PsiElement element = getElement(dataContext); if (element instanceof GrField && ((GrField)element).isProperty()) return true; if (element instanceof GrAccessorMethod) return true; if (element instanceof GrMethod && GroovyPropertyUtils.isSimplePropertyAccessor((PsiMethod)element)) return true; return false; }