Hello Stefan,
your workflow already helps a lot understanding what is going on, thanks.
My use case is complicated (at least right now). Everything is a mess, so I have to work on it.
The pattern I need:
Class A (master)
and Class B (extension class) need to have an interface with all their public
methods
Class A implements the interface of class B
Class B implements the interface of class A
Class A delegates to methods in class B for all methods in B, which are not in
A
Class B delegates to methods in class A for all methods in A (interface), which
are not in B
Some specific construction of delegates etc.
The needed “boilerplate” code should be created by easy-to-understand active annotations. Therefore, I created own annotations based on @Extract and @Delegate, which also combine them. In addition, the delegation must be a little bit more intelligent.
Simplified, the pattern above allows the possibility to “extend” a class A by some methods from another class B. Thereby, it should be possible to implement the methods in class B as if they would be in class A.
--
You received this message because you are subscribed to a topic in the Google Groups "Xtend Programming Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xtend-lang/t6awI3v3LKA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.