Package org.mapstruct

Annotation Type TargetPropertyName


  • @Target(PARAMETER)
    @Retention(CLASS)
    public @interface TargetPropertyName
    This annotation marks a presence check method parameter as a property name parameter.

    This parameter enables conditional filtering based on target property name at run-time. Parameter must be of type String and can be present only in Condition method.

    Since:
    1.6
    Author:
    Nikola Ivačič