test_class.declarator: FILTER = "fn:filter(header:qos,'ne',0)"
test_class.modifier: static final
test_class.original_string: static final String FILTER = "fn:filter(header:qos,'ne',0)";
test_class.type: String
test_class.var_name: FILTER
test_class.declarator: INCLUDES = new HashSet<>(Collections.singletonList(
              AcknowledgementRequest.parseAcknowledgementRequest(DittoAcknowledgementLabel.TWIN_PERSISTED)))
test_class.modifier: static final
test_class.original_string: static final Set<AcknowledgementRequest> INCLUDES = new HashSet<>(Collections.singletonList(
              AcknowledgementRequest.parseAcknowledgementRequest(DittoAcknowledgementLabel.TWIN_PERSISTED)));
test_class.type: Set<AcknowledgementRequest>
test_class.var_name: INCLUDES
test_class.declarator: FILTERED_ACKNOWLEDGEMENT_REQUEST =
              FilteredAcknowledgementRequest.of(INCLUDES, FILTER)
test_class.modifier: static final
test_class.original_string: static final FilteredAcknowledgementRequest FILTERED_ACKNOWLEDGEMENT_REQUEST =
              FilteredAcknowledgementRequest.of(INCLUDES, FILTER);
test_class.type: FilteredAcknowledgementRequest
test_class.var_name: FILTERED_ACKNOWLEDGEMENT_REQUEST
test_class.declarator: FILTERED_ACKNOWLEDGEMENT_REQUEST_JSON = JsonObject
              .newBuilder()
              .set(FilteredAcknowledgementRequest.JsonFields.INCLUDES, INCLUDES.stream()
                      .map(AcknowledgementRequest::getLabel)
                      .map(AcknowledgementLabel::toString)
                      .map(JsonFactory::newValue)
                      .collect(JsonCollectors.valuesToArray()))
              .set(FilteredAcknowledgementRequest.JsonFields.FILTER, FILTER)
              .build()
test_class.modifier: static final
test_class.original_string: static final JsonObject FILTERED_ACKNOWLEDGEMENT_REQUEST_JSON = JsonObject
              .newBuilder()
              .set(FilteredAcknowledgementRequest.JsonFields.INCLUDES, INCLUDES.stream()
                      .map(AcknowledgementRequest::getLabel)
                      .map(AcknowledgementLabel::toString)
                      .map(JsonFactory::newValue)
                      .collect(JsonCollectors.valuesToArray()))
              .set(FilteredAcknowledgementRequest.JsonFields.FILTER, FILTER)
              .build();
test_class.type: JsonObject
test_class.var_name: FILTERED_ACKNOWLEDGEMENT_REQUEST_JSON
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/acks/ImmutableFilteredAcknowledgementRequestTest.java
test_class.identifier: ImmutableFilteredAcknowledgementRequestTest
test_case.body: @Test
      public void fromJsonReturnsExpected() {
          final FilteredAcknowledgementRequest actual =
                  ImmutableFilteredAcknowledgementRequest.fromJson(FILTERED_ACKNOWLEDGEMENT_REQUEST_JSON);
          assertThat(actual).isEqualTo(FILTERED_ACKNOWLEDGEMENT_REQUEST);
      }
test_case.class_method_signature: ImmutableFilteredAcknowledgementRequestTest.fromJsonReturnsExpected()
test_case.full_signature: @Test public void fromJsonReturnsExpected()
test_case.identifier: fromJsonReturnsExpected
test_case.invocations: fromJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void fromJsonReturnsExpected()
focal_class.declarator: includes
focal_class.modifier: private final
focal_class.original_string: private final Set<AcknowledgementRequest> includes;
focal_class.type: Set<AcknowledgementRequest>
focal_class.var_name: includes
focal_class.declarator: filter
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final String filter;
focal_class.type: String
focal_class.var_name: filter
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/acks/ImmutableFilteredAcknowledgementRequest.java
focal_class.identifier: ImmutableFilteredAcknowledgementRequest
focal_class.interfaces: implements FilteredAcknowledgementRequest
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.ImmutableFilteredAcknowledgementRequest(final Set<AcknowledgementRequest> includes,
              @Nullable final String filter)
focal_class.full_signature: private  ImmutableFilteredAcknowledgementRequest(final Set<AcknowledgementRequest> includes,
              @Nullable final String filter)
focal_class.identifier: ImmutableFilteredAcknowledgementRequest
focal_class.modifiers: private
focal_class.parameters: (final Set<AcknowledgementRequest> includes,
              @Nullable final String filter)
focal_class.signature:  ImmutableFilteredAcknowledgementRequest(final Set<AcknowledgementRequest> includes,
              @Nullable final String filter)
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.getInstance(
              final Set<AcknowledgementRequest> includes, @Nullable final String filter)
focal_class.full_signature: static ImmutableFilteredAcknowledgementRequest getInstance(
              final Set<AcknowledgementRequest> includes, @Nullable final String filter)
focal_class.identifier: getInstance
focal_class.modifiers: static
focal_class.parameters: (
              final Set<AcknowledgementRequest> includes, @Nullable final String filter)
focal_class.return: ImmutableFilteredAcknowledgementRequest
focal_class.signature: ImmutableFilteredAcknowledgementRequest getInstance(
              final Set<AcknowledgementRequest> includes, @Nullable final String filter)
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.getIncludes()
focal_class.full_signature: @Override public Set<AcknowledgementRequest> getIncludes()
focal_class.identifier: getIncludes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<AcknowledgementRequest>
focal_class.signature: Set<AcknowledgementRequest> getIncludes()
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.getFilter()
focal_class.full_signature: @Override public Optional<String> getFilter()
focal_class.identifier: getFilter
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getFilter()
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: FilteredAcknowledgementRequest
focal_class.signature: FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: ImmutableFilteredAcknowledgementRequest.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: ImmutableFilteredAcknowledgementRequest.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: ImmutableFilteredAcknowledgementRequest.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: ImmutableFilteredAcknowledgementRequest.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 FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject) {
          return FilteredAcknowledgementRequest.of(
                  jsonObject.getValue(JsonFields.INCLUDES).orElse(JsonArray.empty()).stream()
                          .filter(JsonValue::isString)
                          .map(JsonValue::asString)
                          .map(AcknowledgementRequest::parseAcknowledgementRequest)
                          .collect(Collectors.toSet()), jsonObject.getValue(JsonFields.FILTER).orElse(null));
      }
focal_method.class_method_signature: ImmutableFilteredAcknowledgementRequest.fromJson(final JsonObject jsonObject)
focal_method.full_signature: public static FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject)
focal_method.identifier: fromJson
focal_method.invocations: of collect map map filter stream orElse getValue empty toSet orElse getValue
focal_method.modifiers: public static
focal_method.parameters: (final JsonObject jsonObject)
focal_method.return: FilteredAcknowledgementRequest
focal_method.signature: FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject)