Interface TypeMetadataDiscoverer<C>
-
- Type Parameters:
C
- The Java type of type metadata contributors
public interface TypeMetadataDiscoverer<C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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).
-
-
-
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).- Parameters:
typeModel
- The type model which is about to be contributed to.- Returns:
- An additional, automatically discovered contributor.
-
-