void (SimpleColoredComponent component) { final MatchVariableConstraint variable = myTable.getMatchVariable(); if (variable == null) { return; } final int min = variable.getMinCount(); final int max = variable.getMaxCount(); myLabel.append(SSRBundle.message("count.label", "[" + min + "," + (max == Integer.MAX_VALUE ? "∞" : max) + ']')); if (min == 1 && max == 1) { myLabel.append(SSRBundle.message("default.label"), SimpleTextAttributes.GRAYED_ATTRIBUTES); } }