Annotation Interface BsonCreator


@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) public @interface BsonCreator
An annotation that configures a constructor or method as the creator for the POJO.

For POJOs, requires the Conventions.ANNOTATION_CONVENTION

For Java records, the annotation is not supported.

Since:
3.5
See Also: