public static void writeExtends(
    PsiClass aClass,
    StringBuilder buffer,
    PsiClassType[] refs,
    JavaDocHighlightingManager highlightingManager
  ) {
    if (refs.length > 0 || !aClass.isInterface() && !CommonClassNames.JAVA_LANG_OBJECT.equals(aClass.getQualifiedName())) {
      appendStyledSignatureFragment(buffer, " extends ", highlightingManager.getKeywordAttributes()); // <- Groovy keyword
      if (refs.length == 0) {
        appendStyledSignatureFragment(buffer, "Object", highlightingManager.getClassNameAttributes());
      }
      else {
        writeTypeRefs(aClass, buffer, refs, highlightingManager);
      }
    }
  }
public static void writeExtends(
    PsiClass aClass,
    StringBuilder buffer,
    PsiClassType[] refs,
    JavaDocHighlightingManager highlightingManager
  )