package a; import b.B; public class A extends B { protected static void bar(){} public static class I { protected void foo(){} } }