String (final Object element) { if (element instanceof PsiField) { final PsiClass psiClass = ((PsiField)element).getContainingClass(); if (psiClass != null) { return ClassPresentationUtil.getNameForClass(psiClass, true); } } return null; }