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