Reformatted code.
Added tests that verify that if one method has no arguments and the other has a varargs argument then they shouldn't match.