test_class.file: server/src/test/java/io/spine/server/event/store/MatchFilterTest.java
test_class.identifier: MatchFilterTest
test_case.body: @Test
      @DisplayName("not allow null events to pass")
      void notAllowNullEvents() {
          MatchFilter filter = new MatchFilter(EventFilter.getDefaultInstance());
          assertFalse(filter.test(null));
      }
test_case.class_method_signature: MatchFilterTest.notAllowNullEvents()
test_case.full_signature: @Test @DisplayName("not allow null events to pass") void notAllowNullEvents()
test_case.identifier: notAllowNullEvents
test_case.invocations: getDefaultInstance assertFalse test
test_case.modifiers: @Test @DisplayName("not allow null events to pass")
test_case.parameters: ()
test_case.return: void
test_case.signature: void notAllowNullEvents()
focal_class.declarator: eventTypeUrl
focal_class.modifier: private final @Nullable
focal_class.original_string: private final @Nullable TypeUrl eventTypeUrl;
focal_class.type: TypeUrl
focal_class.var_name: eventTypeUrl
focal_class.declarator: aggregateIds
focal_class.modifier: private final @Nullable
focal_class.original_string: private final @Nullable List<Any> aggregateIds;
focal_class.type: List<Any>
focal_class.var_name: aggregateIds
focal_class.declarator: eventFieldFilters
focal_class.modifier: private final
focal_class.original_string: private final Collection<FieldFilter> eventFieldFilters;
focal_class.type: Collection<FieldFilter>
focal_class.var_name: eventFieldFilters
focal_class.declarator: contextFieldFilters
focal_class.modifier: private final
focal_class.original_string: private final Collection<FieldFilter> contextFieldFilters;
focal_class.type: Collection<FieldFilter>
focal_class.var_name: contextFieldFilters
focal_class.file: server/src/main/java/io/spine/server/event/store/MatchFilter.java
focal_class.identifier: MatchFilter
focal_class.interfaces: implements Predicate<Event>
focal_class.class_method_signature: MatchFilter.MatchFilter(EventFilter filter)
focal_class.full_signature:   MatchFilter(EventFilter filter)
focal_class.identifier: MatchFilter
focal_class.parameters: (EventFilter filter)
focal_class.signature:  MatchFilter(EventFilter filter)
focal_class.class_method_signature: MatchFilter.getEventTypeUrl(EventFilter filter)
focal_class.full_signature: private static @Nullable TypeUrl getEventTypeUrl(EventFilter filter)
focal_class.identifier: getEventTypeUrl
focal_class.modifiers: private static @Nullable
focal_class.parameters: (EventFilter filter)
focal_class.return: TypeUrl
focal_class.signature: TypeUrl getEventTypeUrl(EventFilter filter)
focal_class.class_method_signature: MatchFilter.getAggregateIdentifiers(EventFilter filter)
focal_class.full_signature: private static @Nullable List<Any> getAggregateIdentifiers(EventFilter filter)
focal_class.identifier: getAggregateIdentifiers
focal_class.modifiers: private static @Nullable
focal_class.parameters: (EventFilter filter)
focal_class.return: List<Any>
focal_class.signature: List<Any> getAggregateIdentifiers(EventFilter filter)
focal_class.class_method_signature: MatchFilter.test(@Nullable Event event)
focal_class.full_signature: @Override public boolean test(@Nullable Event event)
focal_class.identifier: test
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Event event)
focal_class.return: boolean
focal_class.signature: boolean test(@Nullable Event event)
focal_class.class_method_signature: MatchFilter.checkAggregateIds(EventContext context)
focal_class.full_signature: private boolean checkAggregateIds(EventContext context)
focal_class.identifier: checkAggregateIds
focal_class.modifiers: private
focal_class.parameters: (EventContext context)
focal_class.return: boolean
focal_class.signature: boolean checkAggregateIds(EventContext context)
focal_class.class_method_signature: MatchFilter.checkEventType(EventMessage event)
focal_class.full_signature: private boolean checkEventType(EventMessage event)
focal_class.identifier: checkEventType
focal_class.modifiers: private
focal_class.parameters: (EventMessage event)
focal_class.return: boolean
focal_class.signature: boolean checkEventType(EventMessage event)
focal_class.class_method_signature: MatchFilter.check(Message message, Collection<FieldFilter> filters)
focal_class.full_signature: private static boolean check(Message message, Collection<FieldFilter> filters)
focal_class.identifier: check
focal_class.modifiers: private static
focal_class.parameters: (Message message, Collection<FieldFilter> filters)
focal_class.return: boolean
focal_class.signature: boolean check(Message message, Collection<FieldFilter> filters)
focal_class.class_method_signature: MatchFilter.checkFields(Message object, FieldFilter filter)
focal_class.full_signature: private static boolean checkFields(Message object, FieldFilter filter)
focal_class.identifier: checkFields
focal_class.modifiers: private static
focal_class.parameters: (Message object, FieldFilter filter)
focal_class.return: boolean
focal_class.signature: boolean checkFields(Message object, FieldFilter filter)
focal_class.class_method_signature: MatchFilter.fieldFrom(FieldFilter filter)
focal_class.full_signature: private static Field fieldFrom(FieldFilter filter)
focal_class.identifier: fieldFrom
focal_class.modifiers: private static
focal_class.parameters: (FieldFilter filter)
focal_class.return: Field
focal_class.signature: Field fieldFrom(FieldFilter filter)
focal_method.body: @Override
      public boolean test(@Nullable Event event) {
          if (event == null) {
              return false;
          }
  
          EventMessage eventMessage = event.enclosedMessage();
          EventContext context = event.context();
  
          if (!checkEventType(eventMessage)) {
              return false;
          }
  
          if (!checkAggregateIds(context)) {
              return false;
          }
  
          if (!check(eventMessage, eventFieldFilters)) {
              return false;
          }
  
          boolean result = check(context, contextFieldFilters);
          return result;
      }
focal_method.class_method_signature: MatchFilter.test(@Nullable Event event)
focal_method.full_signature: @Override public boolean test(@Nullable Event event)
focal_method.identifier: test
focal_method.invocations: enclosedMessage context checkEventType checkAggregateIds check check
focal_method.modifiers: @Override public
focal_method.parameters: (@Nullable Event event)
focal_method.return: boolean
focal_method.signature: boolean test(@Nullable Event event)