title: No method found annotated with @Named#value
body: <p>I'm having trouble using MapStruct version 1.4.1 when I'm trying to implement my own mapping. This is code that I wrote:</p>
  <pre><code>package com.kucazdravlja.user.mappers;
  
  import com.kucazdravlja.user.dto.NoticeBoardDto;
  import com.kucazdravlja.user.entities.NoticeBoard;
  import com.kucazdravlja.user.entities.NoticeBoardStatus;
  import org.mapstruct.Mapper;
  import org.mapstruct.Mapping;
  import org.mapstruct.Named;
  
  import java.util.Objects;
  
  @Mapper(uses = {BaseJournalMapper.class})
  public interface NoticeBoardMapper {
  
      @Mapping(source = &quot;status&quot;, target = &quot;status&quot;, qualifiedByName = &quot;getNoticeBoardStatusName&quot;)
      NoticeBoard dtoToEntity(NoticeBoardDto noticeBoardDto);
  
      @Mapping(source = &quot;status&quot;, target = &quot;status&quot;, qualifiedByName = &quot;getNoticeBoardStatusDescription&quot;)
      NoticeBoardDto entityToDto(NoticeBoard noticeBoard);
  
      @Named(&quot;getNoticeBoardStatusDescription&quot;)
      static String getNoticeBoardStatusDescriptionConverter(NoticeBoard noticeBoard) {
          return Objects.requireNonNull(NoticeBoardStatus.findByName(noticeBoard.getStatus())).getDescription();
      }
  
      @Named(&quot;getNoticeBoardStatusName&quot;)
      static String getNoticeBoardStatusNameConverter(NoticeBoardDto noticeBoardDto) {
          return Objects.requireNonNull(NoticeBoardStatus.findByName(noticeBoardDto.getStatus())).name();
      }
  }
  </code></pre>
  <p>When running application it crashes and gives error</p>
  <pre><code>Error:(15, 5) java: Qualifier error. No method found annotated with @Named#value: [ getNoticeBoardStatusName ].
  </code></pre>
  <p>Not sure what is the problem because I have that method with that name.</p>