code: public String getDeviceCompositeAddress() {
          String device = deviceAddress;
          if (!deviceAttributes.isEmpty()) {
              device = (device != null ? device : "") + deviceAttributes.entrySet().stream()
                      .map(Map.Entry::toString).collect(Collectors.joining(",", "[", "]"));
          }
          return device;
      }
docs: Returns bluetooth device composite address (a combination of the address and its attributes).
  @return bluetooth device composite address