I am exploring providing this for Java 7. My first cut will be to use the example shown in this article:
It ought to work with java 6, it is similar to the other injection options above. Based on my experience with Mixins in C# and Ruby, you should aim to implement mixins, not just emulate or fake it.
Another model, is the one used with Jackson:
- Jackson MixIn Annotations
If you can use the new Java 8 release, say if you are in pre-release mode, that might help.
- Java 8: You now have mixins?
Using Virtual Extension method, which requires effort to 'be-a' mixin. So in my mind it is still early days and I prefer the cleaner looking approach (or similar) offered by the first link.