I’m interested in writing a SonarQube plugin for my organization which will gather a list of all Java class fields annotated with a specific annotation in the source code, and upload that list someplace.
I’ve written custom rules before, but never a server-side or compute-engine-side plugin. From what I was able to find, there are significantly fewer docs for writing these types of plugins.
I was wondering if anyone with experience writing server-side plugins could help answer this question: Can I access the syntax tree from a server-side plugin, or from somewhere other than a custom rule? How would you go about this?