1 2 3 4 5 6 7 8 9 10 11
public class B { static interface T<X> extends C {} // not public, so this shouldn't be tracked as an inherited dependency private class Q implements E<Integer> {} public void x(int i) { // not public, not an inherited dependency D j = new D() {}; } }