Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13 (by javaparser)


Basic JavaParser repo stats
2 days ago

javaparser/javaparser is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

JavaParser Alternatives

Similar projects and alternatives to JavaParser based on common topics and language

  • GitHub repo grammars-v4

    Grammars written for ANTLR v4; expectation that the grammars are free of actions.

  • GitHub repo rewrite

    Semantic code search and transformation (by openrewrite)

  • GitHub repo Spoon

    Spoon is a metaprogramming library to analyze and transform Java source code (up to Java 15). :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.

  • GitHub repo JSqlParser

    JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern

  • GitHub repo JDA

    Java wrapper for the popular chat & VOIP service: Discord

  • GitHub repo twitch4j

    Modular Async/Sync/Reactive Twitch API Client / IRC Client

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better JavaParser alternative or higher similarity.


Posts where JavaParser has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-01-11.
  • Bulk Refactoring of Java Code | 2021-01-11
    Depending on the type of refactorings needed, you may be able to use something like Java parser to read the code, refractor it, and write it out again.