Back to directory

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

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.

More in Code quality

See all 94
  • Critic

    critic.run

    A code-change viewer, backed by Y Combinator, built for reviewing work written by coding agents, presenting a plain-language narrative of each change alongside the diff and a running conversation with the agent.

  • GitIntel

    hoangsonww.github.io

    An MCP server that computes git repository analytics such as hotspots, churn, temporal coupling, knowledge maps and risk scoring entirely from local commit history, for AI coding agents like Claude Code and Codex.

  • Axint

    axint.ai

    A verification layer for AI coding agents working on Apple projects: it runs real Xcode builds and tests against the Swift an agent wrote, reconciles static analysis findings against that evidence, and returns a signed proof with the exact repairs still needed.