# JavaParser

A set of Java libraries implementing a parser and abstract syntax tree for Java 1.0 through Java 25, with an add-on symbol solver for resolving declarations and types.

JavaParser is a set of libraries implementing a parser for Java source code from Java 1.0 through Java 25, producing an abstract syntax tree with advanced analysis functionality. It is distributed through Maven Central and is typically added to a project through Maven or Gradle.

Since version 3.5.10 the project has included JavaSymbolSolver, which analyzes the AST that JavaParser produces and can find the relation between an element and its declaration, such as resolving a variable name to its parameter, type, and position in the tree; a project that only needs to parse and traverse the AST can depend on the smaller core JavaParser artifact instead. Since version 3.6.17, the AST can also be serialized to JSON through a separate module, and the project builds with a bundled Maven wrapper.

Website: https://javaparser.org
