public interface IDataAnnotationFactory
DataAnnotation
based on a complete DataType
.
When the annotation needs to capture information about a data type, this allows creation of the annotation to be postponed until the data type is being built.
Modifier and Type | Method and Description |
---|---|
DataAnnotation |
createAnnotation(DataType dataType)
Create an annotation based on dataType.
|
@NotNull DataAnnotation createAnnotation(@NotNull DataType dataType)
dataType
- the data type to annotate.