plugin/checkstyle/src/main/java/se/jguru/nazgul/tools/plugin/checkstyle/IconTool.java
public void iconSeverity(String level, int textType) {
        sink.figure();
        sink.figureGraphics("images/icon_" + level + "_sml.gif");
        sink.figure_();

        if (textType > 0) {
            sink.nonBreakingSpace();

            sink.text(bundle.getString("report.checkstyle." + level + suffix(textType)));
        }
    }
public void iconSeverity(String level, int textType) {
        sink.figure();
        sink.figureGraphics("images/icon_" + level + "_sml.gif");
        sink.figure_();

        if (textType > 0) {
            sink.nonBreakingSpace();

            sink.text(bundle.getString("report.checkstyle." + level + suffix(textType)));
        }
    }
public void iconSeverity ( String level , int textType ) { sink . figure ( ) ; sink . figureGraphics ( "images/icon_" + level + "_sml.gif" ) ; sink . figure_ ( ) ; if ( textType > 0 ) { sink . nonBreakingSpace ( ) ; sink . text ( bundle . getString ( "report.checkstyle." + level + suffix ( textType ) ) ) ; } }
Render an icon of given level with associated text.

@param level    one of <code>INFO</code>, <code>WARNING</code> or <code>ERROR</code> constants
@param textType one of <code>NO_TEXT</code>, <code>TEXT_SIMPLE</code>, <code>TEXT_TITLE</code> or
<code>TEXT_ABBREV</code> constants
Render an icon of given level with associated text .