IDLTKSearchScope projectScope = SearchEngine.createSearchScope(project);
// complete the bundle part
if (bundle == null && controller == null && template == null) {
List<Bundle> bundles = model.findBundles(project);
for (Bundle b : bundles) {
IType[] bundleTypes = PhpModelAccess.getDefault().findTypes(b.getElementName(), MatchRule.EXACT, 0, 0, projectScope, null);