private static @Nullable Boolean handleEqualityComparison(Object lOperandValue, Object rOperandValue, IElementType tokenType) {
    if (lOperandValue instanceof String && rOperandValue instanceof String ||
        lOperandValue instanceof Boolean && rOperandValue instanceof Boolean) {
      return lOperandValue.equals(rOperandValue) == (tokenType == JavaTokenType.EQEQ);
    }
    return compareNumbers(lOperandValue, rOperandValue, tokenType);
  }
private static @Nullable Boolean handleEqualityComparison(Object lOperandValue, Object rOperandValue, IElementType tokenType)