super(jEl, p, pk);
completeConstruction(p);
}
public void retrieveContainerFromHierarchy() {
IModelService m = getModelService();
IPackagesGroupService parent = null;
String parentName = getFullName();
int indexFirstPoint = -1;
while (parent == null) {
indexFirstPoint = parentName.lastIndexOf('.');
if (indexFirstPoint >= 0) {
parentName = parentName.substring(0, indexFirstPoint);
parent = m.resolvePackageService(parentName);
} else {
// We try to get a default package if this is not the default
// package
String fullName = getFullName();
if(!
(
(fullName!=null)
&&(
fullName.equals(
IModelService
.defaultPackageFileName
)
)
)
) {
parent =
m.resolvePackageService(
IModelService.defaultPackageFileName
);
}
// If we have no parent at this point,
if(parent==null) {