private void printMethodInfo(MethodDoc method) {
        ClassDoc[] intfacs = method.containingClass().interfaces();
        MethodDoc overriddenMethod = method.overriddenMethod();
        if (intfacs.length > 0 || overriddenMethod != null) {
            dd();
            printTagsInfoHeader();
            MethodWriterImpl.printImplementsInfo(this, method);
            if (overriddenMethod != null) {
                MethodWriterImpl.printOverridden(this,
                    method.overriddenType(), overriddenMethod);
            }
            printTagsInfoFooter();
            ddEnd();
        }
        dd();
    }