I am working on a custom findbugs plugin which finds the variable naming errors in java classses.
For example Button variables must starts with btn* and if not, report it.
Button btnSave; // It's ok
Button close; //Report it, not starts with btn
I have been working on this project for days. I can detect method naming errors, method return value errors etc. But I can not detect -this simple- variable naming errors. I tried many code pieces and the findbugs documentation is not helpful on this case.
In addition, I can not debug my custom plugin project and every changes steal my time.
Thanks.