How Sonar create AST for Java


(Bhuvangu) #1

How does sonar create AST for java ?
Does it use Antlr,

It will be of great help to point to a relevant file in source code.

Does sonar code analysis is based on analysing the AST or there are more techniques.

(Nicolas Peru) #2


Everything related to java analysis is open source and available on this github repository

Your question is a bit too generic to answer precisely : can you maybe be more specific about what you are trying to achieve or what you are looking for ?
SonarJava does not use antlr under the hood.