[#5] account for vararg and array conflicts when testing for method equality,
and consider arrays when comparing JavaType instances