void (StringBuilder text, PsiClass typeDefinition) { final PsiClassType[] extendsClassesTypes = typeDefinition.getExtendsListTypes(); if (extendsClassesTypes.length > 0) { text.append("extends "); TypeWriter.writeType(text, extendsClassesTypes[0], typeDefinition, classNameProvider); text.append(' '); } }