Source:
<code>private void createDynamicMappingControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage, EEFDynamicMappingFor dynamicMappingFor) { String domainClassExpression = dynamicMappingFor.getDomainClassExpression(); EEFDynamicMappingSwitch dynamicMappingSwitch = dynamicMappingFor.getSwitch(); String switchExpression = dynamicMappingSwitch.getSwitchExpression(); <START> if (domainClassExpression != null && domainClassExpression.trim().length() > 0 && switchExpression != null <END> && switchExpression.trim().length() > 0) { IEvaluationResult domainClassExpressionResult = this.interpreter.evaluateExpression(this.variableManager.getVariables(), domainClassExpression); if (domainClassExpressionResult.success()) { for (EObject eObject : domainClassExpressionResult.asEObjects()) { String iterator = dynamicMappingFor.getIterator(); Map<String, Object> switchExpressionVariables = new HashMap<String, Object>(); switchExpressionVariables.put("self", this.variableManager.getVariables().get("self")); switchExpressionVariables.put(iterator, eObject); IEvaluationResult switchExpressionResult = this.interpreter.evaluateExpression(switchExpressionVariables, switchExpression); EEFWidgetDescription eefWidgetDescription = this.getWidgetDescription(switchExpressionResult, dynamicMappingSwitch.getCases()); if (eefWidgetDescription != null) { IVariableManager childVariableManager = this.variableManager.createChild(); childVariableManager.put(iterator, eObject); this.createWidgetControl(parent, tabbedPropertySheetPage, eefWidgetDescription, childVariableManager); } } } } }</code><technical_language>Util.isBlank</technical_language>

Target:
private void createDynamicMappingControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage, EEFDynamicMappingFor dynamicMappingFor) { String domainClassExpression = dynamicMappingFor.getDomainClassExpression(); EEFDynamicMappingSwitch dynamicMappingSwitch = dynamicMappingFor.getSwitch(); String switchExpression = dynamicMappingSwitch.getSwitchExpression(); if (!Util.isBlank(domainClassExpression) && !Util.isBlank(switchExpression)) { IEvaluationResult domainClassExpressionResult = this.interpreter.evaluateExpression(this.variableManager.getVariables(), domainClassExpression); if (domainClassExpressionResult.success()) { for (EObject eObject : domainClassExpressionResult.asEObjects()) { String iterator = dynamicMappingFor.getIterator(); Map<String, Object> switchExpressionVariables = new HashMap<String, Object>(); switchExpressionVariables.put(EEFExpressionUtils.SELF, this.variableManager.getVariables().get(EEFExpressionUtils.SELF)); switchExpressionVariables.put(iterator, eObject); IEvaluationResult switchExpressionResult = this.interpreter.evaluateExpression(switchExpressionVariables, switchExpression); EEFWidgetDescription eefWidgetDescription = this.getWidgetDescription(switchExpressionResult, dynamicMappingSwitch.getCases()); if (eefWidgetDescription != null) { IVariableManager childVariableManager = this.variableManager.createChild(); childVariableManager.put(iterator, eObject); this.createWidgetControl(parent, tabbedPropertySheetPage, eefWidgetDescription, childVariableManager); } } } } }