myInsertHandler = insertHandler;
}
@Override
public boolean process(Pair<String, HaxeClassInfo> pair) {
HaxeClassInfo info = pair.getSecond();
if (myPrefixPackage == null || myPrefixPackage.equalsIgnoreCase(info.getValue())) {
String name = pair.getFirst();
final String qName = HaxeResolveUtil.joinQName(info.getValue(), name);
myResultSet.addElement(LookupElementBuilder.create(qName, name)
.withIcon(info.getIcon())
.withTailText(" " + info.getValue(), true)
.withInsertHandler(myInsertHandler));
}
return true;
}