class Issue2446 { static class One {} static class Two> extends One {} static class Three> extends Two {} static > Three f() { throw new AssertionError(); } static final Three F = f(); }