code: public static EntityListenersMetadata introspect(Class<?> entityClass) {
      EntityListenersIntrospector introspector = new EntityListenersIntrospector(entityClass);
      introspector.introspect();
      return introspector.metadata;
    }
docs: Returns the metadata of various registered listeners for the given entity class.
  
  @param entityClass
  the entity class to introspect
  @return the metadata of various listeners.