Skip to content

jqassistant-plugin/jqassistant-mapstruct-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQAssistant MapStruct Plugin

This plugin provides MapStruct related rules for jQAssistant.

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.