Class PropertyMappingElementCollector

java.lang.Object
org.hibernate.boot.model.internal.PropertyMappingElementCollector

public final class PropertyMappingElementCollector extends Object
Reproduces what we used to do with a List<Element> in JPAXMLOverriddenAnnotationReader, with the following constraints:
  • Preserve type safety
  • Only create lists if we actually have elements (most lists should be empty in most cases)