code: public void setUUID(UUID uuid)
      {
          if (uuid == null)
          {
              throw new IllegalArgumentException("'uuid' is null.");
          }
  
          mUUID = uuid;
  
          long msbits = uuid.getMostSignificantBits();
          long lsbits = uuid.getLeastSignificantBits();
  
          byte[] data = getData();
          data[UUID_INDEX +  0] = (byte)((msbits >> 56) & 0xFF);
          data[UUID_INDEX +  1] = (byte)((msbits >> 48) & 0xFF);
          data[UUID_INDEX +  2] = (byte)((msbits >> 40) & 0xFF);
          data[UUID_INDEX +  3] = (byte)((msbits >> 32) & 0xFF);
          data[UUID_INDEX +  4] = (byte)((msbits >> 24) & 0xFF);
          data[UUID_INDEX +  5] = (byte)((msbits >> 16) & 0xFF);
          data[UUID_INDEX +  6] = (byte)((msbits >>  8) & 0xFF);
          data[UUID_INDEX +  7] = (byte)((msbits      ) & 0xFF);
          data[UUID_INDEX +  8] = (byte)((lsbits >> 56) & 0xFF);
          data[UUID_INDEX +  9] = (byte)((lsbits >> 48) & 0xFF);
          data[UUID_INDEX + 10] = (byte)((lsbits >> 40) & 0xFF);
          data[UUID_INDEX + 11] = (byte)((lsbits >> 32) & 0xFF);
          data[UUID_INDEX + 12] = (byte)((lsbits >> 24) & 0xFF);
          data[UUID_INDEX + 13] = (byte)((lsbits >> 16) & 0xFF);
          data[UUID_INDEX + 14] = (byte)((lsbits >>  8) & 0xFF);
          data[UUID_INDEX + 15] = (byte)((lsbits >>  0) & 0xFF);
      }
docs: Set the proximity UUID.
  
  
  @param uuid
  The proximity UUID. The value must not be {@code null}.
  
  @throws IllegalArgumentException
  The given value is {@code null}.