mvvmFX
mvvmFX copied to clipboard
436 aspect j maven plugin
For #436 I have created a maven plugin which will generate aspects that check if the MVVM pattern is used correctly within the project. These checks consist of instance variables, constructors, method calls, return variables from the three layers of the MVVM pattern and the JavaFX UI library.
Since AspectJ needs fully qualified names to look for the pointcuts I created this plugin. With this plugin it is possible to define the Model-Packages and assign them a Marker Interface which will be used within the Aspects.
I also made a small guide on how to implement these aspects on a maven project.
These aspects do not contain any advices and are just used for pointcut checks.