if (matcher != null) {
if (matcher.matchesElement(eo, featureValue)) {
return eo;
}
} else {
JavaElement javaElement = null;
if (eo instanceof JavaRequirement) {
javaElement = ((JavaRequirement)eo).getJavaElement();
} else if (eo instanceof JavaElement) {
javaElement = (JavaElement)eo;
}