@SuppressWarnings({ "rawtypes", "unchecked" })
public static <RESOLVEDTYPE extends ResolvedArtifact<RESOLVEDTYPE>, RETURNTYPE> FormatProcessor<? super RESOLVEDTYPE, RETURNTYPE> find(
final Class<RESOLVEDTYPE> resolvedTypeClass, final Class<RETURNTYPE> returnTypeClass) {
ServiceRegistry registry = ServiceRegistry.getInstance();
Collection<FormatProcessor> processors = registry.all(FormatProcessor.class);
StringBuilder unsupportedFormatMessage = new StringBuilder("No format processor for ")
.append(returnTypeClass.getName()).append(
" was found. Supported processors are: ");