String (PsiElement element) { if (element instanceof PsiClass) { return ((PsiClass)element).getQualifiedName(); } else if (element instanceof PsiMember) { final String name = getQualifiedName(((PsiMember)element).getContainingClass()); return name + "#" + ((PsiMember)element).getName(); } return null; }