java-compiler-utils

Utilities to help use some Java compilation APIs.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

me.dwtj
ArtifactId

ArtifactId

java-compiler-utils
Last Version

Last Version

0.1.7
Release Date

Release Date

Type

Type

jar
Description

Description

java-compiler-utils
Utilities to help use some Java compilation APIs.
Project URL

Project URL

https://github.com/dwtj/java-compiler-utils
Source Code Management

Source Code Management

https://github.com/dwtj/java-compiler-utils.git

Download java-compiler-utils

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.commons : commons-configuration2 jar 2.1
commons-beanutils : commons-beanutils jar 1.9.2
javax.inject : javax.inject jar 1
com.google.dagger : dagger jar 2.5

Project Modules

There are no modules declared in this project.

Java Compiler Utilities

This project implements some simple utilities for simplifying the usage of various APIs related to Java compilation and annotation processing. The focus is on standard Java APIs, but there is also some functionality which is specific to Oracle's javac.

Build and Install

The provided Gradle wrapper is the preferred way to build and install this project. From the root of the project,

$ ./gradlew clean install

Relevant Standards and APIs

  • Pluggable Annotation Processing API, javax.annotation.processing (JSR 269, JSR 308)
  • The Java Compiler API, javax.tools.* (JSR 199)
  • Language Model API, javax.lang.model.*
  • Compiler Tree API, com.sun.source.*
  • JCTree API, com.sun.tools.javac.tree.*

References

Versions

Version
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2