String (@NotNull PsiClass aClass) { String s = aClass.getQualifiedName() + "(" + aClass.getClass().getName() + "; " + PsiUtilCore.getVirtualFile(aClass) + ");\n"; s += " extends: "; for (PsiClassType type : aClass.getExtendsListTypes()) { s += " " + type + " (" + type.getClass().getName() + "; " + type.resolve() + ") "; } s += "\n implements: "; for (PsiClassType type : aClass.getImplementsListTypes()) { s += " " + type + " (" + type.getClass().getName() + "; " + type.resolve() + ") "; } return s + "\n"; }