final ITemplateContext templateContext = (ITemplateContext) context; if (templateContext.hasSelectionTarget()) { return templateContext.getSelectionTarget();
(useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : templateContext);
final Object evaluationRoot = (useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : new SPELContextMapWrapper(context, thymeleafEvaluationContext));
final Object evaluationRoot = (useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : new SPELContextMapWrapper(context, thymeleafEvaluationContext));
final Object evaluationRoot = (useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : new SPELContextMapWrapper(context, thymeleafEvaluationContext));
final Object evaluationRoot = (useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : new SPELContextMapWrapper(context, thymeleafEvaluationContext));
final Object evaluationRoot = (useSelectionAsRoot && templateContext != null && templateContext.hasSelectionTarget()? templateContext.getSelectionTarget() : new SPELContextMapWrapper(context, thymeleafEvaluationContext));