parent=null;
}
}
// not found in this file, search it in packages of other files
OutlineDatabase database = doc.getOutlineDatabase();
if (database != null) {
OutlineElement[] elements = database.findTopLevelElements("");
for (int i = 0; i < elements.length; i++) {
if(elements[i] instanceof PackageDeclElement ){
OutlineElement[] subPackageElements=elements[i].getChildren();
for(int j=0; j< subPackageElements.length; j++){
if (subPackageElements[j] instanceof TypeDecl