if (targetModule == null)
return;
for(ASTNode impSelFrag: impSelective.impSelFrags) {
if(impSelFrag instanceof RefImportSelection) {
RefImportSelection refImportSelection = (RefImportSelection) impSelFrag;
String name = refImportSelection.getDenulledIdentifier();
// Do pre-emptive matching
if(!search.matchesName(name)) {
continue;
}
INamedElement namedElement = refImportSelection.findTargetDefElement(search.modResolver);
if(namedElement != null) {
search.addMatch(namedElement);
}
}
}