EndpointrefInfo refInfo = gatherEndpointrefInfo( component, reference, null );
List<Endpoint> endpoints = getReferenceEndpoints( composite, component,
reference, components, componentServices );
Multiplicity multiplicity = reference.getMultiplicity();
if (multiplicity == Multiplicity.ONE_N || multiplicity == Multiplicity.ONE_ONE) {
// If there are no endpoints defined and also no endpoint references already present
// then this reference is unwired, which is an error - the existing endpoint references
// will have been attached to a nested reference when a promoting reference has its endpoint
// references computed