test_class.declarator: DITTO_HEADERS = DittoHeaders.empty()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders DITTO_HEADERS = DittoHeaders.empty();
test_class.type: DittoHeaders
test_class.var_name: DITTO_HEADERS
test_class.declarator: MESSAGE_ID = DefaultEntityId.of("org.eclipse.ditto.test:thingId")
test_class.modifier: private static final
test_class.original_string: private static final EntityId MESSAGE_ID = DefaultEntityId.of("org.eclipse.ditto.test:thingId");
test_class.type: EntityId
test_class.var_name: MESSAGE_ID
test_class.declarator: TYPE = "message-type"
test_class.modifier: private static final
test_class.original_string: private static final String TYPE = "message-type";
test_class.type: String
test_class.var_name: TYPE
test_class.declarator: MESSAGE = JsonFactory.newObjectBuilder().set("hello", "world").build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject MESSAGE = JsonFactory.newObjectBuilder().set("hello", "world").build();
test_class.type: JsonObject
test_class.var_name: MESSAGE
test_class.declarator: SHARDED_MESSAGE_ENVELOPE =
              ShardedMessageEnvelope.of(MESSAGE_ID, TYPE, MESSAGE, DITTO_HEADERS)
test_class.modifier: private static final
test_class.original_string: private static final ShardedMessageEnvelope SHARDED_MESSAGE_ENVELOPE =
              ShardedMessageEnvelope.of(MESSAGE_ID, TYPE, MESSAGE, DITTO_HEADERS);
test_class.type: ShardedMessageEnvelope
test_class.var_name: SHARDED_MESSAGE_ENVELOPE
test_class.declarator: SHARDED_MESSAGE_ENVELOPE_JSON = JsonObject.newBuilder()
              .set(ShardedMessageEnvelope.JSON_ID, String.valueOf(MESSAGE_ID))
              .set(ShardedMessageEnvelope.JSON_TYPE, TYPE)
              .set(ShardedMessageEnvelope.JSON_MESSAGE, MESSAGE)
              .set(ShardedMessageEnvelope.JSON_DITTO_HEADERS, DITTO_HEADERS.toJson())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject SHARDED_MESSAGE_ENVELOPE_JSON = JsonObject.newBuilder()
              .set(ShardedMessageEnvelope.JSON_ID, String.valueOf(MESSAGE_ID))
              .set(ShardedMessageEnvelope.JSON_TYPE, TYPE)
              .set(ShardedMessageEnvelope.JSON_MESSAGE, MESSAGE)
              .set(ShardedMessageEnvelope.JSON_DITTO_HEADERS, DITTO_HEADERS.toJson())
              .build();
test_class.type: JsonObject
test_class.var_name: SHARDED_MESSAGE_ENVELOPE_JSON
test_class.file: signals/base/src/test/java/org/eclipse/ditto/signals/base/ShardedMessageEnvelopeTest.java
test_class.identifier: ShardedMessageEnvelopeTest
test_case.body: @Test
      public void serializeMessage() {
          final JsonObject actual = SHARDED_MESSAGE_ENVELOPE.toJson();
  
          assertThat(actual).isEqualTo(SHARDED_MESSAGE_ENVELOPE_JSON);
      }
test_case.class_method_signature: ShardedMessageEnvelopeTest.serializeMessage()
test_case.full_signature: @Test public void serializeMessage()
test_case.identifier: serializeMessage
test_case.invocations: toJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void serializeMessage()
focal_class.declarator: JSON_ID = JsonFactory.newStringFieldDefinition("id")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<String> JSON_ID = JsonFactory.newStringFieldDefinition("id");
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_ID
focal_class.declarator: JSON_TYPE = JsonFactory.newStringFieldDefinition("type")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<String> JSON_TYPE = JsonFactory.newStringFieldDefinition("type");
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_TYPE
focal_class.declarator: JSON_MESSAGE =
              JsonFactory.newJsonObjectFieldDefinition("message")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<JsonObject> JSON_MESSAGE =
              JsonFactory.newJsonObjectFieldDefinition("message");
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_MESSAGE
focal_class.declarator: JSON_DITTO_HEADERS =
              JsonFactory.newJsonObjectFieldDefinition("dittoHeaders")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<JsonObject> JSON_DITTO_HEADERS =
              JsonFactory.newJsonObjectFieldDefinition("dittoHeaders");
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_DITTO_HEADERS
focal_class.declarator: id
focal_class.modifier: private final
focal_class.original_string: private final EntityId id;
focal_class.type: EntityId
focal_class.var_name: id
focal_class.declarator: type
focal_class.modifier: private final
focal_class.original_string: private final String type;
focal_class.type: String
focal_class.var_name: type
focal_class.declarator: message
focal_class.modifier: private final
focal_class.original_string: private final JsonObject message;
focal_class.type: JsonObject
focal_class.var_name: message
focal_class.declarator: dittoHeaders
focal_class.modifier: private final
focal_class.original_string: private final DittoHeaders dittoHeaders;
focal_class.type: DittoHeaders
focal_class.var_name: dittoHeaders
focal_class.file: signals/base/src/main/java/org/eclipse/ditto/signals/base/ShardedMessageEnvelope.java
focal_class.identifier: ShardedMessageEnvelope
focal_class.interfaces: implements Jsonifiable<JsonObject>, WithDittoHeaders<ShardedMessageEnvelope>, WithId
focal_class.class_method_signature: ShardedMessageEnvelope.ShardedMessageEnvelope(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  ShardedMessageEnvelope(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.identifier: ShardedMessageEnvelope
focal_class.modifiers: private
focal_class.parameters: (final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.signature:  ShardedMessageEnvelope(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ShardedMessageEnvelope.of(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ShardedMessageEnvelope of(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.return: ShardedMessageEnvelope
focal_class.signature: ShardedMessageEnvelope of(final EntityId id,
              final String type,
              final JsonObject message,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ShardedMessageEnvelope.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static ShardedMessageEnvelope fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: ShardedMessageEnvelope
focal_class.signature: ShardedMessageEnvelope fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: ShardedMessageEnvelope.getEntityId()
focal_class.full_signature: public EntityId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EntityId
focal_class.signature: EntityId getEntityId()
focal_class.class_method_signature: ShardedMessageEnvelope.getType()
focal_class.full_signature: public String getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: ShardedMessageEnvelope.getMessage()
focal_class.full_signature: public JsonObject getMessage()
focal_class.identifier: getMessage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject getMessage()
focal_class.class_method_signature: ShardedMessageEnvelope.getDittoHeaders()
focal_class.full_signature: @Override public DittoHeaders getDittoHeaders()
focal_class.identifier: getDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders getDittoHeaders()
focal_class.class_method_signature: ShardedMessageEnvelope.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ShardedMessageEnvelope setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ShardedMessageEnvelope
focal_class.signature: ShardedMessageEnvelope setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ShardedMessageEnvelope.toJson()
focal_class.full_signature: @Override public JsonObject toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson()
focal_class.class_method_signature: ShardedMessageEnvelope.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: ShardedMessageEnvelope.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ShardedMessageEnvelope.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public JsonObject toJson() {
          return JsonObject.newBuilder()
                  .set(JSON_ID, String.valueOf(id))
                  .set(JSON_TYPE, type)
                  .set(JSON_MESSAGE, message)
                  .set(JSON_DITTO_HEADERS, dittoHeaders.toJson())
                  .build();
      }
focal_method.class_method_signature: ShardedMessageEnvelope.toJson()
focal_method.full_signature: @Override public JsonObject toJson()
focal_method.identifier: toJson
focal_method.invocations: build set set set set newBuilder valueOf toJson
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: JsonObject
focal_method.signature: JsonObject toJson()