override default editor , if possible since that 's what we really mean to do here ; otherwise register as a custom editor . concode_field_sep PropertyResolver propertyResolver concode_elem_sep ResourceLoader resourceLoader concode_field_sep void registerCustomEditors
void function ( PropertyEditorRegistry arg0 , Class < ? > arg1 , PropertyEditor arg2 ) { if ( arg0 instanceof PropertyEditorRegistrySupport ) { ( ( PropertyEditorRegistrySupport ) arg0 ) . overrideDefaultEditor ( arg1 , arg2 ) ; } else { arg0 . registerCustomEditor ( arg1 , arg2 ) ; } }