code: private static ListenerAdapter createListenerAdapter(EntryEventType eventType, EntryListener listener) {
          final ConstructorFunction<EntryListener, ListenerAdapter> constructorFunction = CONSTRUCTORS.get(eventType);
          if (constructorFunction == null) {
              throw new IllegalArgumentException("First, define a ListenerAdapter for the event EntryEventType." + eventType);
          }
          return constructorFunction.createNew(listener);
      }
docs: Creates a {@link ListenerAdapter} for a specific {@link com.hazelcast.core.EntryEventType}.
  
  @param eventType an {@link com.hazelcast.core.EntryEventType}.
  @param listener  a {@link EntryListener} instance.
  @return {@link com.hazelcast.map.impl.ListenerAdapter} for a specific {@link com.hazelcast.core.EntryEventType}