This repository contains Refaster templates that can be run with Error Prone.
Note that some Refaster templates use features that are currently only available in the Picnic fork of Error Prone.
The templates are created and used for a thesis project that is done at Picnic Technologies.
The title of the thesis is:
Towards Automated Library Migrations with Error Prone and Refaster
For the validation of the research, we performed a migration on two codebases.
One codebase is provided by Picnic and the other is open source; Gravitee.
- The annotation
@CanTransformToTargetType
can only be used together with the Picnic fork (currently only with therossendrijver/return_type
branch (see here). - The
*TestInput.java
and*TestOutput.java
are taken from a private codebase that is yet to be open sourced. Theinput
andoutput
files are used to validate the Refaster templates.