Some posts on JavaParser:
- Implementing Lexical Preservation for JavaParser
- Observers for AST nodes in JavaParser
- Getting started with JavaParser: analyzing Java Code programmatically
- Java comments parsing
- Inspecting an AST
- The logging framework in one file
- Making strings
- The quick and the full API
- Less casting
- Parse error recovery
- Inverting “if”s – a sample
- Code generation and Maven inside JavaParser
- Semantic validations
- Setting Java 8, 9, 10, etc.
- Analysing an entire project in one go
Do you want to show your love for JavaParser? Show our logo!
Projects using it
There are over 50 libraries on Maven which depends on JavaParser, around 100 projects on GitHub and a number of commercial projects.
This is a very incomplete list:
- Jooby, a micro web framework for Java
- MyBatis Generator
- Gauge Java, a Test Automation suite from ThoughtWorks
- Lettuce, an advanced Java Redis client
- ModiTect, a generator for Java 9 module descriptors
The maintainer of the JavaParser project is Danny van Bruggen a.k.a. Matozoid.
There are over 40 persons who contributed to JavaParser. Among them a few have more commits than others: Federico Tomassetti, Nicholas Smith (a.k.a. SmiddyPence), Cruz Maximilien (a.k.a. DeepSnowNeeL), and Sebastian Kirsch
The parser is based on work by Sreenivasa Viswanadha and Júlio Vilmar Gesser. The original project, now inactive, was originally hosted at Google Code and supported only parsing Java 1.5.
Matozoid picked it up and put it on GitHub. He started accepting patches. Over time a community grew around it. In 2015 Federico Tomassetti started working on the JavaSymbolSolver which in 2016 was included in the JavaParser set of tools.