Class TypeMetadataContributorProvider<C>

  • Type Parameters:
    C - The Java type of type metadata contributors.

    public final class TypeMetadataContributorProvider<C>
    extends Object
    A provider of type metadata contributors, taking into account explicit contributions, implicit discovery and inheritance.
    • Method Detail

      • get

        public Set<C> get​(MappableTypeModel typeModel)
        Parameters:
        typeModel - The model of a type to retrieve contributors for, including supertype contributors.
        Returns:
        A set of the Java types of the metadata contributors
      • typesContributedTo

        public Set<? extends MappableTypeModel> typesContributedTo()
        Returns:
        A set containing all the types that were contributed to so far.