Annotation Type MatsTest.MatsTestAnnotatedClass


  • @Retention(RUNTIME)
    @Target(FIELD)
    public static @interface MatsTest.MatsTestAnnotatedClass
    Marks a field that has Mats annotations, like MatsMapping or MatsClassMapping.

    Use this annotation to declare that a field should be registered as a Mats class. If the field is null, the class will be registered, and instantiated by the extension. If the field is already instantiated, the instance will be registered. This must be a class that has Mats annotations.

    For further documentation, see Extension_MatsAnnotatedClass.