Interface TypeMetadataDiscoverer<C>

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

public interface TypeMetadataDiscoverer<C>
  • Method Summary

    Modifier and Type
    Method
    Description
    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).
  • Method Details

    • 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).
      Parameters:
      typeModel - The type model which is about to be contributed to.
      Returns:
      An additional, automatically discovered contributor.