1 2 3 4 5 6 7 8 9 10 11 12 13 14
interface Base<T> { static interface Inner { } } class Test<T extends Test.InnerTest> implements Base<T> { static class InnerTest implements Inner { } } aspect ForceWeaverToUnpackAllTypes { before() : staticinitialization(*) && !within(ForceWeaverToUnpackAllTypes) {} }