This plugin provides MapStruct related rules for jQAssistant.
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}
-
Declaration of the MapStruct plugin
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 conceptjava:GeneratedType
.