protected void addJavadocs() {
        JDocComment c = definedClass.javadoc();
        c.add("<pre>\n");
        for (Iterator<SmiNamedNumber> iterator = type.getNamedNumbers().iterator(); iterator.hasNext(); ) {
            SmiNamedNumber namedNumber = iterator.next();
            c.add(namedNumber.toString());
            if (iterator.hasNext()) {
                c.add(",");
            }
            c.add("\n");
        }
        c.add("</pre>\n");
    }
protected void addJavadocs ( ) { JDocComment c = definedClass . javadoc ( ) ; c . add ( "<pre>\n" ) ; for ( Iterator < SmiNamedNumber > iterator = type . getNamedNumbers ( ) . iterator ( ) ; iterator . hasNext ( ) ; ) { SmiNamedNumber namedNumber = iterator . next ( ) ; c . add ( namedNumber . toString ( ) ) ; if ( iterator . hasNext ( ) ) { c . add ( "," ) ; } c . add ( "\n" ) ; } c . add ( "</pre>\n" ) ; }
TODO make sure it's clear whether this is for an enum or for a bits type.