{
return new TypeValuePair(ErrorType.TYPE, new LibFormulaErrorValue
(LibFormulaErrorValue.ERROR_REFERENCE_NOT_RESOLVABLE));
}
final ReportFormulaContext reportFormulaContext =
(ReportFormulaContext) context;
final Object declaringElement = reportFormulaContext.getDeclaringElement();
if (declaringElement instanceof Element == false)
{
return new TypeValuePair(ErrorType.TYPE, new LibFormulaErrorValue
(LibFormulaErrorValue.ERROR_REFERENCE_NOT_RESOLVABLE));
}