private void addModifier(Element member, Content code) {
        if (utils.isProtected(member)) {
            code.addContent("protected ");
        } else if (utils.isPrivate(member)) {
            code.addContent("private ");
        } else if (!utils.isPublic(member)) { // Package private
            code.addContent(configuration.getText("doclet.Package_private"));
            code.addContent(" ");
        }
        boolean isAnnotatedTypeElement = utils.isAnnotationType(member.getEnclosingElement());
        if (!isAnnotatedTypeElement && utils.isMethod(member)) {
            if (!utils.isInterface(member.getEnclosingElement()) && utils.isAbstract(member)) {
                code.addContent("abstract ");
            }
            if (utils.isDefault(member)) {
                code.addContent("default ");
            }
        }
        if (utils.isStatic(member)) {
            code.addContent("static ");
        }
    }
private void addModifier ( Element member , Content code ) { if ( utils . isProtected ( member ) ) { code . addContent ( "protected " ) ; } else if ( utils . isPrivate ( member ) ) { code . addContent ( "private " ) ; } else if ( ! utils . isPublic ( member ) ) { code . addContent ( configuration . getText ( "doclet.Package_private" ) ) ; code . addContent ( " " ) ; } boolean isAnnotatedTypeElement = utils . isAnnotationType ( member . getEnclosingElement ( ) ) ; if ( ! isAnnotatedTypeElement && utils . isMethod ( member ) ) { if ( ! utils . isInterface ( member . getEnclosingElement ( ) ) && utils . isAbstract ( member ) ) { code . addContent ( "abstract " ) ; } if ( utils . isDefault ( member ) ) { code . addContent ( "default " ) ; } } if ( utils . isStatic ( member ) ) { code . addContent ( "static " ) ; } }
Add the modifier for the member.

@param member the member to add the type for
@param code the content tree to which the modified will be added