boolean (IElementType sign, GrExpression rhs, GrExpression lhs) { if (sign.equals(T_EQ) || sign.equals(T_NEQ)) { return equalityExpressionIsPointless(lhs, rhs); } else if (sign.equals(T_LAND)) { return andExpressionIsPointless(lhs, rhs); } else if (sign.equals(T_LOR)) { return orExpressionIsPointless(lhs, rhs); } else if (sign.equals(T_XOR)) { return xorExpressionIsPointless(lhs, rhs); } else { return false; } }