protected boolean isTripleEqualsOperation(XBinaryOperation binaryOperation){ String syntax = binaryOperation.getConcreteSyntaxFeatureName(); return syntax.equals(OperatorMapping.TRIPLE_EQUALS.toString()) || syntax.equals(OperatorMapping.TRIPLE_NOT_EQUALS.toString()); }
final XExpression rightOperand = binaryOperation.getRightOperand(); declareSyntheticVariable(binaryOperation, b); boolean isElvis = binaryOperation.getConcreteSyntaxFeatureName().equals(expressionHelper.getElvisOperator()); prepareExpression(leftOperand, b); if(isElvis) { } else { b.newLine().append("if ("); if (binaryOperation.getConcreteSyntaxFeatureName().equals(expressionHelper.getAndOperator())) { b.append("!"); b.append(") {").increaseIndentation(); b.newLine().append(b.getName(binaryOperation)).append(" = "); b.append(Boolean.toString(binaryOperation.getConcreteSyntaxFeatureName().equals(expressionHelper.getOrOperator()))).append(";");
final EvaluationResult right = this.doEvaluate(it.getRightOperand(), context); try { final String op = it.getConcreteSyntaxFeatureName(); Object _switchResult = null; if (op != null) {
@Check public void checkPrimitiveComparedToNull(XBinaryOperation binaryOperation) { String operatorSymbol = binaryOperation.getConcreteSyntaxFeatureName(); XExpression left = binaryOperation.getLeftOperand(); XExpression right = binaryOperation.getRightOperand();