Interface IDataAnnotationFactory


public interface IDataAnnotationFactory
Factory that can create a 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.

  • Method Details Link icon

    • createAnnotation Link icon

      @NotNull DataAnnotation createAnnotation(@NotNull DataType dataType)
      Create an annotation based on dataType.
      Parameters:
      dataType - the data type to annotate.
      Returns:
      the annotation.