Checks that the outer type name and the file name match. For example, the class Foo must be in a file named Foo.java.