Class OverloadMethodSet


  • public class OverloadMethodSet
    extends java.lang.Object
    These are the possibilities we could be hitting when we call an overloaded method. We must be sure that parameter casting rewrites don't move a call from using one method to using another.

    These are "vaguely" compatible - i.e. we shouldn't be comparing (int, int) with (Integer, String) as an explicit cast could never call the wrong one.

    HOWEVER - we should be comparing a vararg method, as

    a,b (int int) could be confused with a,[]{b,c}