}
}
{
OutlineDatabase database = getOutlineDatabase();
PackageDeclElement packs[] = database.findTopLevelPackages();
for (int p=0;p<packs.length;p++){
PackageDeclElement packDecl = packs[p];
OutlineElement[] enitityChildren=packDecl.getChildren();
for(int entChildIdx=0;entChildIdx<enitityChildren.length;entChildIdx++){
if( enitityChildren[entChildIdx].getName().equalsIgnoreCase(name)){
results.add(enitityChildren[entChildIdx]);
}
}