return result;
}
private void parseInHk2LocatorOrig(BufferedReader reader, Map<String, String> cliCommandNames) throws IOException {
DescriptorImpl desc = new DescriptorImpl();
while (desc.readObject(reader)) {
if (StringUtils.ok(desc.getName()) && desc.getAdvertisedContracts().contains(CLICommand.class.getName())) {
cliCommandNames.put(desc.getName(), desc.getImplementation());
}
}
}