if (outputLimitSpec != null) {
ExprEvaluatorContextStatement evaluatorContextStmt = new ExprEvaluatorContextStatement(statementContext);
ExprValidationContext validationContext = new ExprValidationContext(new StreamTypeServiceImpl(statementContext.getEngineURI(), false), statementContext.getMethodResolutionService(), null, statementContext.getTimeProvider(), statementContext.getVariableService(), evaluatorContextStmt, statementContext.getEventAdapterService(), statementContext.getStatementName(), statementContext.getStatementId(), statementContext.getAnnotations(), statementContext.getContextDescriptor());
if (outputLimitSpec.getAfterTimePeriodExpr() != null) {
ExprTimePeriod timePeriodExpr = (ExprTimePeriod) ExprNodeUtility.getValidatedSubtree(outputLimitSpec.getAfterTimePeriodExpr(), validationContext);
outputLimitSpec.setAfterTimePeriodExpr(timePeriodExpr);
}
if (outputLimitSpec.getTimePeriodExpr() != null) {
ExprTimePeriod timePeriodExpr = (ExprTimePeriod) ExprNodeUtility.getValidatedSubtree(outputLimitSpec.getTimePeriodExpr(), validationContext);
outputLimitSpec.setTimePeriodExpr(timePeriodExpr);
}
}
OutputProcessViewFactory outputProcessViewFactory;