state.getResult().put(res, wires);
return space;
}
}
ResolutionException resex = rescan.getResolutionException();
if (resex != null) {
throw resex;
}
if (spaces.getResourceSpace(res) == null) {
List<Requirement> manreqs = res.getRequirements(null);
Iterator<Requirement> itreqs = manreqs.iterator();
while (itreqs.hasNext()) {
if (itreqs.next().isOptional()) {
itreqs.remove();
}
}
throw new ResolutionException("Requirements map to candidates in disconnetced spaces", null, manreqs);
}
return null;
}