javalang

Java 8 parser library

License

License

GroupId

GroupId

org.walkmod
ArtifactId

ArtifactId

javalang
Last Version

Last Version

4.8.8
Release Date

Release Date

Type

Type

jar
Description

Description

javalang
Java 8 parser library
Project URL

Project URL

https://github.com/rpau/javalang
Source Code Management

Source Code Management

https://github.com/rpau/javalang

Download javalang

How to add to project

<!-- https://jarcasting.com/artifacts/org.walkmod/javalang/ -->
<dependency>
    <groupId>org.walkmod</groupId>
    <artifactId>javalang</artifactId>
    <version>4.8.8</version>
</dependency>
// https://jarcasting.com/artifacts/org.walkmod/javalang/
implementation 'org.walkmod:javalang:4.8.8'
// https://jarcasting.com/artifacts/org.walkmod/javalang/
implementation ("org.walkmod:javalang:4.8.8")
'org.walkmod:javalang:jar:4.8.8'
<dependency org="org.walkmod" name="javalang" rev="4.8.8">
  <artifact name="javalang" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.walkmod', module='javalang', version='4.8.8')
)
libraryDependencies += "org.walkmod" % "javalang" % "4.8.8"
[org.walkmod/javalang "4.8.8"]

Dependencies

compile (2)

Group / Artifact Type Version
org.walkmod : merger jar [1.0.1, 2.0)
org.walkmod : model-checker jar [1.0, 2.0)

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

javalang: Java 8 parser customized for walkmod

Build Status Build Status

Java 8 parser and Abstract Syntax Tree (AST). Therefore, lambda expressions, reference expressions, type annotations and default methods are supported.

The AST contains the source code structure, javadoc and comments. It also allows to parse Javadoc tags and the Java code links.

This parser is based on Sreenivasa Viswanadha’s Java 1.5 parser.

The project was originally hosted at javaparser but seemed dead. This repository adds powerful parsing functionalities for walkmod such as AST merge support, AST dumping as the original format or Javadoc parsing.

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.

Usage

If you are interested in creating a new walkmod plugin for Java code, you must add the following dependency in your project.

<dependency>
    <groupId>org.walkmod</groupId>
    <artifactId>javalang</artifactId>
    <version>4.3.0</version>
</dependency>

Contributing

If you want to hack on this, fork it, improve it and send me a pull request.

To get started using it, just clone it and call mvn install.

Versions

Version
4.8.8
4.8.7
4.8.6
4.8.5
4.8.4
4.8.3
4.8.2
4.8.1
4.8.0
4.7.9
4.7.8
4.7.7
4.7.6
4.7.5
4.7.4
4.7.3
4.7.2
4.7.1
4.7.0
4.6.0
4.5.0
4.4.0
4.3.0
4.2.6
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.0
4.0.0
3.2.0
3.1.0
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.1
2.0
1.0