public class Outer { public interface Nested { void foo(); } }