This package contains a Java 1.8 Parser with AST generation and visitor support. The AST records the source code structure, javadoc and comments.
Current 1.8 Release
<dependency> <groupId>com.github.javaparser</groupId> <artifactId>javaparser-core</artifactId> <version>2.0.0</version> </dependency>
Final 1.7 Release
<dependency> <groupId>com.google.code.javaparser</groupId> <artifactId>javaparser</artifactId> <version>1.0.11</version> </dependency>
mvn javacc:javacc mvn clean install
In the first instance try colsulting the Wiki
In the second instance please feel free to open an issue.
Javadoc can be found here
This parser is based on Sreenivasa Viswanadha's Java 1.5 parser.
The project was originally hosted at Google Code, however support there dwindled.
This repository aims to provide support for issues and add the new Java language features.
Offered under the GNU GENERAL PUBLIC LICENSE that can be found here