/** * Returns the left operand as {@link ExpressionNode}. * * @return */ public ExpressionNode getLeft() { return from(operator.getLeftOperand()); }
protected boolean isCompilableOperatorUsingNumerics() { SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); if (!left.isCompilable() || !right.isCompilable()) { return false; } // Supported operand types for equals (at the moment) String leftDesc = left.exitTypeDescriptor; String rightDesc = right.exitTypeDescriptor; DescriptorComparison dc = DescriptorComparison.checkNumericCompatibility( leftDesc, rightDesc, this.leftActualDescriptor, this.rightActualDescriptor); return (dc.areNumbers && dc.areCompatible); }
protected boolean isCompilableOperatorUsingNumerics() { SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); if (!left.isCompilable() || !right.isCompilable()) { return false; } // Supported operand types for equals (at the moment) String leftDesc = left.exitTypeDescriptor; String rightDesc = right.exitTypeDescriptor; DescriptorComparison dc = DescriptorComparison.checkNumericCompatibility( leftDesc, rightDesc, this.leftActualDescriptor, this.rightActualDescriptor); return (dc.areNumbers && dc.areCompatible); }
SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); String leftDesc = left.exitTypeDescriptor;
/** * Returns the left operand as {@link ExpressionNode}. * * @return */ public ExpressionNode getLeft() { return from(operator.getLeftOperand()); }
SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); String leftDesc = left.exitTypeDescriptor;
protected boolean isCompilableOperatorUsingNumerics() { SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); if (!left.isCompilable() || !right.isCompilable()) { return false; } // Supported operand types for equals (at the moment) String leftDesc = left.exitTypeDescriptor; String rightDesc = right.exitTypeDescriptor; DescriptorComparison dc = DescriptorComparison.checkNumericCompatibility( leftDesc, rightDesc, this.leftActualDescriptor, this.rightActualDescriptor); return (dc.areNumbers && dc.areCompatible); }
SpelNodeImpl left = getLeftOperand(); SpelNodeImpl right = getRightOperand(); String leftDesc = left.exitTypeDescriptor;