package test; class C { public static class Foo { } public static class Bar extends Foo { } }