int (@NotNull ReflectiveSignature other) { int c = myArgumentTypes.length - other.myArgumentTypes.length; if (c != 0) return c; c = ArrayUtil.lexicographicCompare(myArgumentTypes, other.myArgumentTypes); if (c != 0) return c; return myReturnType.compareTo(other.myReturnType); }