private Object labelFor(AbstractOption option) {
IndexedElement e = options.rootSourceOf(option);
String name = options.nameForOption(e);
if (option instanceof AbstractCustomOption) {
AbstractCustomOption customOption = (AbstractCustomOption) option;
StringBuilder b = new StringBuilder();
b.append(formatCustomOptionElement(name));
for (OptionField field : options.fieldsOf(customOption)) {
IndexedElement source = field.getTarget();
String sourceName = options.nameForOption(source);