: direct known subclasses -->
            <hr>
<%
def declaration = annotations(classDoc, '\n') +
    modifiersWithOptions(classDoc, classDoc.isGroovy(), classDoc.isInterface() || classDoc.isAnnotationType(), classDoc.isEnum(), false) +
    classDoc.typeSourceDescription +
    " ${nameEncoded}"
final interfaces = classDoc.interfaces().collect{ linkable(it) }.join(', ')
if (classDoc.isInterface() && classDoc.interfaces()) {
    if (interfaces) {
        declaration += "\nextends $interfaces"
    }
} else if 