assertFieldMetadataType(currentFieldMetadata, PersistentFieldMetadata.class);
assertValidEnumElements(elements);
PersistentFieldMetadata fieldMetadata = (PersistentFieldMetadata) currentFieldMetadata;
fieldMetadata.setRenderer(new EnumRenderer(elements));
withCustomControl(Editors.enumeration(elements));
return (B) this;
}