{
// Be careful. Should return true only when it has an owning transition
// contained in frontend usecase
// from UML1.4: return this.getTransition() instanceof FrontEndForward;
// Causes stack overflow...
Element owner = (Element)this.metaObject;
if (!(owner.getOwner() instanceof Transition))
{
return false;
}
while (owner != null)
{
if (owner instanceof UseCase)
{
if (this.shieldedElement(owner) instanceof FrontEndUseCase)
{
return true;
}
}
owner = owner.getOwner();
}
return false;
}