documentPositiveTypeConstraintsTransformer
Given a function annotated with @OnlyForDocumentType
which defines constraints about the document type the function supports, this transformer stores this data for documentTypeConstraintsPageTransformer to display it.