title: How to use @Qualifier or @Named with @AfterMapping in mapstruct?
body: <p>In their documentation (here: <a href="http://mapstruct.org/documentation/dev/api/org/mapstruct/AfterMapping.html" rel="nofollow noreferrer">http://mapstruct.org/documentation/dev/api/org/mapstruct/AfterMapping.html</a>), they mention that @AfterMapping can be used with @Qualifier / @Named to filter, but I can't find it anywhere how to actually use it this way. </p>
  
  <p>My best guess was to use it like this:</p>
  
  <pre><code>@Mapper
  public abstract class CustomerMapper {
  
      @Named("Test")
      public abstract Customer map(CustomerDto dto);
  
      @Named("Test")
      @AfterMapping
      public void doAfterMapping(@MappingTarget Customer customer) {
          //do stuff
      }
  }
  </code></pre>
  
  <p>But that seems to do nothing (If I remove the @Named annotations it works, but it is also used in other methods, which I don't want).. Does anyone know how this needs to be used?</p>