Implemented method name clash check, as in JLS 3rd ed. | 8.4.8.3.

See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6182950 as Java
6's javac failed to detect this error in certain cases.