final ContextLookup context = (ContextLookup) reportFunction.getChildValues()[0];
name = context.getName();
}
else if (val instanceof Term)
{
final Term term = (Term) val;
final ContextLookup context = (ContextLookup) term.getHeadValue().getChildValues()[0];
name = context.getName();
}
break;
}
}