if (localObject != null)
{
Annotations.checkForMisplacedScopeAnnotations(localClass, paramObject, paramErrors);
return createImplementedByBinding(paramKey, paramScoping, (ImplementedBy)localObject, paramErrors);
}
ProvidedBy localProvidedBy = (ProvidedBy)localClass.getAnnotation(ProvidedBy.class);
if (localProvidedBy != null)
{
Annotations.checkForMisplacedScopeAnnotations(localClass, paramObject, paramErrors);
return createProvidedByBinding(paramKey, paramScoping, localProvidedBy, paramErrors);
}