My code below appears to demonstrate that nested interfaces are
implicitly static. First, note that the compiler treats the nested interface as a static context; and second, the nested interface can be implemented without an instance of the enclosing class (even outside of that class).
Is this documented anywhere? The
Java Language Specifications state that interfaces can be a members of a class, but I couldn't find anything saying that they're implicitly static.