SimpleTextAttributes () { SimpleTextAttributes original = super.getPlainAttributes(); int style = original.getStyle(); Color color = original.getFgColor(); boolean custom = false; if ("test".equals(myGoal) && MavenRunner.getInstance(myProject).getSettings().isSkipTests()) { color = SimpleTextAttributes.GRAYED_ATTRIBUTES.getFgColor(); style |= SimpleTextAttributes.STYLE_STRIKEOUT; custom = true; } if (myGoal.equals(myMavenProject.getDefaultGoal())) { style |= SimpleTextAttributes.STYLE_BOLD; custom = true; } if (custom) return original.derive(style, color, null, null); return original; }