Help me write this plugin??? [message #1809333] |
Sat, 13 July 2019 11:08 |
roy mickson Messages: 6 Registered: July 2019 |
Junior Member |
|
|
Please, I want to write a plugin that will impose compile time checking of immutability and other things during build. I want to use Java AST during compilation to gather the annotations and then check if the constraints imposed hold true. I try to follow the manual but it's not a bit clear in my opinion. My problem is with the plugin thing. If I could do this as a simple Java application it would be done by now. I don't think I can use an annotation processor because I need to analyze the whole project, not just one class, to know if a field declared as immutable remains immutable.https://sarkariresult.onl/ Mobdro https://pnrstatus.vip/
So far, I'm just trying to make the plugin work something basic, just print as warnings the names of the fields in each class during build. But I can't seem to make this work.
Here's the code:
[Updated on: Sun, 14 July 2019 18:53] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01445 seconds