a prototype Spoon pretty-printer implemented with JavaPoet
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
README.md
pom.xml

README.md

Spooet

Spoon printer implemented with open source project JavaPoet. Use to generate beautiful java code.

Usage

Spooet has its custom Spoon launcher to use Spoon and to generate source code given at Spoon. So you must to use this launcher to generate source code with JavaPoet.

final String[] args = new String[] {
    "-i", "src/main/java",
    "-o", "target/spooned",
    "--source-classpath", systemClassPath,
    "--compile"
};

PoetLauncher.main(args);

Download

To use spooet, you first clone this repository and install it on your maven local repository.

License

Copyright Inria, all rights reserved.