test_class.declarator: KNOWN_ACK_LABEL = AcknowledgementLabel.of("welcome-ack")
test_class.modifier: private static final
test_class.original_string: private static final AcknowledgementLabel KNOWN_ACK_LABEL = AcknowledgementLabel.of("welcome-ack");
test_class.type: AcknowledgementLabel
test_class.var_name: KNOWN_ACK_LABEL
test_class.declarator: KNOWN_ENTITY_ID = ThingId.generateRandom()
test_class.modifier: private static final
test_class.original_string: private static final ThingId KNOWN_ENTITY_ID = ThingId.generateRandom();
test_class.type: ThingId
test_class.var_name: KNOWN_ENTITY_ID
test_class.declarator: KNOWN_STATUS_CODE = HttpStatusCode.OK
test_class.modifier: private static final
test_class.original_string: private static final HttpStatusCode KNOWN_STATUS_CODE = HttpStatusCode.OK;
test_class.type: HttpStatusCode
test_class.var_name: KNOWN_STATUS_CODE
test_class.declarator: KNOWN_PAYLOAD = JsonObject.newBuilder().set("known", "payload").build()
test_class.modifier: private static final
test_class.original_string: private static final JsonValue KNOWN_PAYLOAD = JsonObject.newBuilder().set("known", "payload").build();
test_class.type: JsonValue
test_class.var_name: KNOWN_PAYLOAD
test_class.declarator: testName = new TestName()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TestName testName = new TestName();
test_class.type: TestName
test_class.var_name: testName
test_class.declarator: dittoHeaders
test_class.modifier: private
test_class.original_string: private DittoHeaders dittoHeaders;
test_class.type: DittoHeaders
test_class.var_name: dittoHeaders
test_class.file: signals/acks/base/src/test/java/org/eclipse/ditto/signals/acks/base/ImmutableAcknowledgementTest.java
test_class.identifier: ImmutableAcknowledgementTest
test_case.body: @Test
      public void tryToGetInstanceWithNullAcknowledgementLabel() {
          assertThatNullPointerException()
                  .isThrownBy(
                          () -> ImmutableAcknowledgement.of(null, KNOWN_ENTITY_ID, KNOWN_STATUS_CODE, dittoHeaders, null))
                  .withMessage("The label must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: ImmutableAcknowledgementTest.tryToGetInstanceWithNullAcknowledgementLabel()
test_case.full_signature: @Test public void tryToGetInstanceWithNullAcknowledgementLabel()
test_case.identifier: tryToGetInstanceWithNullAcknowledgementLabel
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetInstanceWithNullAcknowledgementLabel()
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final AcknowledgementLabel label;
focal_class.type: AcknowledgementLabel
focal_class.var_name: label
focal_class.declarator: entityId
focal_class.modifier: private final
focal_class.original_string: private final T entityId;
focal_class.type: T
focal_class.var_name: entityId
focal_class.declarator: statusCode
focal_class.modifier: private final
focal_class.original_string: private final HttpStatusCode statusCode;
focal_class.type: HttpStatusCode
focal_class.var_name: statusCode
focal_class.declarator: payload
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final JsonValue payload;
focal_class.type: JsonValue
focal_class.var_name: payload
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/acks/base/src/main/java/org/eclipse/ditto/signals/acks/base/ImmutableAcknowledgement.java
focal_class.identifier: ImmutableAcknowledgement
focal_class.interfaces: implements Acknowledgement
focal_class.class_method_signature: ImmutableAcknowledgement.ImmutableAcknowledgement(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.full_signature: private  ImmutableAcknowledgement(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.identifier: ImmutableAcknowledgement
focal_class.modifiers: private
focal_class.parameters: (final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.signature:  ImmutableAcknowledgement(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.class_method_signature: ImmutableAcknowledgement.of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.full_signature: public static ImmutableAcknowledgement<T> of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.return: ImmutableAcknowledgement<T>
focal_class.signature: ImmutableAcknowledgement<T> of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_class.class_method_signature: ImmutableAcknowledgement.getLabel()
focal_class.full_signature: @Override public AcknowledgementLabel getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AcknowledgementLabel
focal_class.signature: AcknowledgementLabel getLabel()
focal_class.class_method_signature: ImmutableAcknowledgement.getEntityId()
focal_class.full_signature: @Override public T getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T getEntityId()
focal_class.class_method_signature: ImmutableAcknowledgement.isSuccess()
focal_class.full_signature: @Override public boolean isSuccess()
focal_class.identifier: isSuccess
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSuccess()
focal_class.class_method_signature: ImmutableAcknowledgement.isTimeout()
focal_class.full_signature: @Override public boolean isTimeout()
focal_class.identifier: isTimeout
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTimeout()
focal_class.class_method_signature: ImmutableAcknowledgement.getStatusCode()
focal_class.full_signature: @Override public HttpStatusCode getStatusCode()
focal_class.identifier: getStatusCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: HttpStatusCode
focal_class.signature: HttpStatusCode getStatusCode()
focal_class.class_method_signature: ImmutableAcknowledgement.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: Optional<JsonValue>
focal_class.signature: Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: ImmutableAcknowledgement.setEntity(final @Nullable JsonValue payload)
focal_class.full_signature: @Override public Acknowledgement setEntity(final @Nullable JsonValue payload)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final @Nullable JsonValue payload)
focal_class.return: Acknowledgement
focal_class.signature: Acknowledgement setEntity(final @Nullable JsonValue payload)
focal_class.class_method_signature: ImmutableAcknowledgement.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: ImmutableAcknowledgement.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ImmutableAcknowledgement<T> setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ImmutableAcknowledgement<T>
focal_class.signature: ImmutableAcknowledgement<T> setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgement.getEntityType()
focal_class.full_signature: @Override public EntityType getEntityType()
focal_class.identifier: getEntityType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EntityType
focal_class.signature: EntityType getEntityType()
focal_class.class_method_signature: ImmutableAcknowledgement.getType()
focal_class.full_signature: @Override public String getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: ImmutableAcknowledgement.toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override public JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ImmutableAcknowledgement.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: ImmutableAcknowledgement.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: ImmutableAcknowledgement.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: public static <T extends EntityIdWithType> ImmutableAcknowledgement<T> of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload) {
  
          return new ImmutableAcknowledgement<>(label, entityId, statusCode, dittoHeaders, payload);
      }
focal_method.class_method_signature: ImmutableAcknowledgement.of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_method.full_signature: public static ImmutableAcknowledgement<T> of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_method.identifier: of
focal_method.modifiers: public static
focal_method.parameters: (final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)
focal_method.return: ImmutableAcknowledgement<T>
focal_method.signature: ImmutableAcknowledgement<T> of(final AcknowledgementLabel label,
              final T entityId,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders,
              @Nullable final JsonValue payload)