Thank you all for your help. I managed to add a checker and a problem to org.eclipse.cdt.codan.checkers and launch an Eclipse where I could set whether I wanted to check for a certain syntax error or not. To do that I only copied the Naming Convention Function Checker to my own checker Java function (it threw two errors if both of them were enabled). My next step would be to implement some simple syntax checkers e.g. if a hexadecimal is used in a given format (i.e lower case x, uppercase letters). Unfortunately I have never implemented such a thing in Java, therefore I would like to ask for a guide or any material that would help me understand the code or the methodology (even some keywords would do).
Thank you very much.