String () { PsiElement resolved = resolve(); if (resolved instanceof PsiMember && resolved instanceof PsiNamedElement) { PsiClass clazz = ((PsiMember)resolved).getContainingClass(); if (clazz != null) { String qName = clazz.getQualifiedName(); if (qName != null) { return qName + "." + ((PsiNamedElement)resolved).getName(); } } } return getText(); }