class Test { public void method(Foo p) {} static class Foo {} }