if (converterName.equals(CONVERT_SERIALIZED)) {
processSerialized(mapping, referenceClass, isForMapKey);
} else if (converterName.equals(CONVERT_CLASS_INSTANCE)){
new ClassInstanceMetadata().process(mapping, this, referenceClass, isForMapKey);
} else {
AbstractConverterMetadata converter = getProject().getConverter(converterName);
if (converter == null) {
throw ValidationException.converterNotFound(getJavaClass(), converterName, getAnnotatedElement());
} else {
// Process the converter for this mapping.
converter.process(mapping, this, referenceClass, isForMapKey);
}
}
// This was an old requirement from PM, that if an EclipseLink
// convert was specified with a JPA converter that we log a warning