private void visitAbstractPathExpression(AbstractPathExpression expression) { if (!expression.startsWithDot()) { // Visit the general identification variable to make sure it's not a map key, map entry // or map value expression GeneralIdentificationVariableVisitor visitor = generalIdentificationVariableVisitor(); expression.getIdentificationVariable().accept(visitor); if (visitor.expression == null) { expression.setVirtualIdentificationVariable(variableName); } } }
private void visitAbstractPathExpression(AbstractPathExpression expression) { if (!expression.startsWithDot()) { // Visit the general identification variable to make sure it's not a map key, map entry // or map value expression GeneralIdentificationVariableVisitor visitor = generalIdentificationVariableVisitor(); expression.getIdentificationVariable().accept(visitor); if (visitor.expression == null) { expression.setVirtualIdentificationVariable(variableName); } } }