aro-tech / interface-it

Java-8 mixin interface code generator
Other
7 stars 0 forks source link

Flags for mixin name prefix and suffix to allow more than 1 level of superclass #7

Open aro-tech opened 8 years ago

aro-tech commented 8 years ago

For example BDDMockito < Mockito < Matchers -- With a suffix flag, i-i could generate BDDMockitoMixin < MockitoMixin < MatchersMixin

aro-tech commented 8 years ago

There is a workaround, which is to generate 2-level hierarchy twice. Generate for BDDMockito and Mockito, then generate for Mockito and Matchers. The second generation overwrites the Mockito mixin without the Matchers methods.