modelElement);
ExceptionUtils.checkAssignable(
ModelElementFacade.class,
"modelElement",
modelElement.getClass());
final ModelElementFacade modelElementFacade = (ModelElementFacade)modelElement;
final StringBuffer packageName = new StringBuffer(modelElementFacade.getPackageName(true));
// - if the model element is a package then the package name will be the
// name of the package with its package name
if (modelElement instanceof PackageFacade)
{
final String name = modelElementFacade.getName();
if (StringUtils.isNotBlank(name))
{
packageName.append(MetafacadeConstants.NAMESPACE_SCOPE_OPERATOR);
packageName.append(name);
}