PsiElement (PsiManager psiManager, Object object, PsiElement element) { final PsiFile file = element.getContainingFile(); if (file == null || !FileUtilRt.extensionEquals(file.getName(), GradleConstants.EXTENSION)) return null; final String doc = findDoc(element, object); return !StringUtil.isEmpty(doc) ? new GdslNamedParameter(String.valueOf(object), doc, element, null) : null; }