Interface TypeMetadataDiscoverer<C>

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

    public interface TypeMetadataDiscoverer<C>
    • Method Detail

      • discover

        Optional<C> discover​(MappableTypeModel typeModel)
        A hook to discover metadata lazily during bootstrap, which can be helpful when resolving metadata from the type itself (Java annotations on a Java type, in particular).
        typeModel - The type model which is about to be contributed to.
        An additional, automatically discovered contributor.