package test; interface Trait
{ } class Outer
{ class Inner { } class Inner2 extends Inner implements Trait
{ } }