return HighlightInfoFactory.getInstance().createHighlightInfo(SpockLabelHighlightInfoTypes.SPOCK_LABEL, element, null, buildTextAttributes());
}
private TextAttributes buildTextAttributes() {
if (textAttributes == null) {
SpockConfig spockConfig = SpockConfig.getInstance();
int fontStyle = Font.PLAIN;
if (spockConfig.labelBold) {
fontStyle = fontStyle | Font.BOLD;
}
if (spockConfig.labelItalics) {