static void paintLine(Context c, LineBox line, boolean restyle, CascadedStyle firstLineStyle) {
static void paintLine(Context c, LineBox line, boolean restyle, CascadedStyle firstLineStyle, LinkedList decorations) {
    static void paintLine(Context c, LineBox line, boolean restyle, CascadedStyle firstLineStyle) {        // get Xx and y        int lx = line.x;        int ly = line.y + line.getBaseline();        LinkedList pushedStyles = null;        if (firstLineStyle != null) {            pushedStyles = new LinkedList();            c.pushStyle(firstLineStyle);        }        // for each inline box        for (int j = 0; j < line.getChildCount(); j++) {            Box child = line.getChild(j);            if (child.absolute) {                paintAbsolute(c, child, restyle);                continue;            }            InlineBox box = (InlineBox) child;            paintInline(c, box, lx, ly, line, restyle, pushedStyles);        }        if (firstLineStyle != null) {            for (int i = 0; i < pushedStyles.size(); i++) {                c.popStyle();            }            c.popStyle();//get rid of firstLineStyle            //reinstitute the rest            for (Iterator i = pushedStyles.iterator(); i.hasNext();) {                c.pushStyle((CascadedStyle) i.next());            }        }        if (c.debugDrawLineBoxes()) {            GraphicsUtil.drawBox(c.getGraphics(), line, Color.blue);        }    }