GitHub - jqassistant-plugin/jqassistant-mapstruct-plugin: jQAssistant plugin for MapStruct

Using the jQAssistant MapStruct Plugin

To be able to use the plug-in, it must be specified as a plug-in to jQAssistant.

jqassistant.yml

jqassistant:
  plugins:
    - group-id: org.jqassistant.plugin (1)
      artifact-id: jqassistant-mapstruct-plugin
      version: ${jqassistant.mapstruct-plugin.version}
  1. Declaration of the MapStruct plugin

Rules

Concepts

The following concepts are provided by this plugin:

mapstruct:Mapper

Labels @Mapper annotated interfaces and classes with :MapStruct:Mapper.

mapstruct:GeneratedType

Labels classes generated by MapStruct with :MapStruct:Generated. This concept automatically provides the generated types to the according Java concept java:GeneratedType.