I’m playing with something very similar right now....
# compiler
r
I’m playing with something very similar right now. Maybe you have a suggestion @shikasd. In my scenario I have multiple modules containing annotated interfaces:
Copy code
// :moduleA
@MyAnnotation interface Foo

// :moduleB
@MyAnnotation interface Bar
In the application module my goal is to make another interface extend these interfaces:
Copy code
// :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.