boolean validate = false;
if (location.endsWith(REQUIREMENT_VALIDATION_SUFFIX)) {
location = location.substring(0, location.length() - REQUIREMENT_VALIDATION_SUFFIX.length());
validate = true;
}
Resource res = req.eResource();
EObject eo = res.getEObject(location);
if (eo instanceof AbstractRequirement) {
setSelectedRequirement((AbstractRequirement)eo);
fireRequirementSelected(req);
if (validate && req instanceof JavaRequirement) {