This library provides domain objects for interacting with Code Transformation Format (CodeTF) files.
These objects offer the following attributes:
- Decorated with Jackson annotations
- Sanity checking CodeTF requirements
- Immutability
- JavaDocs to help you understand what data is expected
To deserialize a CodeTF file using these objects, simply deserialize with Jackson's typical APIs:
implementation("io.codemodder:codetf-java:4.1.2")
<dependency>
<groupId>io.codemodder</groupId>
<artifactId>codetf-java</artifactId>
<version>4.1.2</version>
</dependency>
ObjectMapper mapper = new ObjectMapper();
CodeTFReport report = mapper.readValue(codetfFile, CodeTFReport.class);
To run the autoformatter, run the following command:
mvn fmt:format