for (Class contract : providerModel.getContracts()) {
@SuppressWarnings("unchecked")
AliasDescriptor aliasDescriptor = new AliasDescriptor(locator, descriptor, contract.getName(), null);
aliasDescriptor.setScope(scope.getName());
aliasDescriptor.setRanking(providerModel.getPriority(contract));
aliasDescriptor.addQualifierAnnotation(new CustomAnnotationImpl());
dc.bind(aliasDescriptor);
}
} else {
Injections.addBinding(Injections.newBinder(resourceClass).to(resourceClass).in(getScope(resourceClass)), dc);