public int complete(String buffer, int cursor, List<String> candidates) {
StringsCompleter delegate = new StringsCompleter();
for (Bundle bundle : bundleContext.getBundles()) {
delegate.getStrings().add(bundle.getVersion().toString());
}
return delegate.complete(buffer, cursor, candidates);
}
public BundleContext getBundleContext() {
return this.bundleContext;
}