This project contains the source code for the Rewrite Java Technology Compatibility Kit (TCK). The TCK is a set of tests that can be used to verify that a JavaParser implementation conforms to expectations.
Dependency relationships between parser implementations and the TCK:
classDiagram
`rewrite-java-tck` ..> `rewrite-java`: implementation
`rewrite-java-tck` ..> `rewrite-java-test`: implementation
`rewrite-java-17` ..> `rewrite-java-tck` : compatibilityTest classpath
`rewrite-java-17` ..> `rewrite-java-tck` : compatibilityTest classpath
`rewrite-java-11` ..> `rewrite-java-tck` : compatibilityTest classpath
`rewrite-java-8` ..> `rewrite-java-tck` : compatibilityTest classpath
`rewrite-groovy` ..> `rewrite-java-test` : testImplementation
`rewrite-java` ..> `rewrite-java-test` : testImplementation
`rewrite-java-tck` ..> `rewrite-java-17`: testRuntimeOnly
- The
testRuntimeOnlydependency thatrewrite-java-tckhas onrewrite-java-17allows us to run these tests in the IDE. - The
rewrite-javadependency onrewrite-java-testis for testing the Java Reflection type mapping. rewrite-java-tckshould be bound to the latest language level supported at any given time.