ralf
04/08/2020, 2:54 AM// :moduleA
@MyAnnotation interface Foo
// :moduleB
@MyAnnotation interface Bar
In the application module my goal is to make another interface extend these interfaces:
// :moduleC
@OtherAnnotation interface World
// The expected result would be
@OtherAnnotation interface World : Foo, Bar
I’m looking for examples, but I mostly find compiler plugins that generate new methods. I couldn’t find an example that changes the super type or tries to discover classes on the classpath.