public T produce(CreationalContext<T> creationalContext) {
return delegate.produce(creationalContext);
}
private static <T> ClassMetadata collectClassMetadata(final Class<T> cls) {
ClassMetadata classMetadata = null;
if (ProviderMetadataCollector.isProvider(cls)) {
classMetadata = ProviderMetadataCollector.collectMetadata(cls);
} else if (ResourceMetadataCollector.isResource(cls)) {
classMetadata = ResourceMetadataCollector.collectMetadata(cls);
} else if (ApplicationMetadataCollector.isApplication(cls)) {