When invoking a method on a type parameter, MultiJava seems to only search for methods in the erasure of the type parameter but not in additional bounds.
Therefore, in the below example, the method Number.intValue() is found but Collection.size() is not even though it should.
=====================================
import java.util.Collection;
public class Bug20<T extends Number & Collection> {
public void foo(T t) {
int value = t.intValue(); // works fine
int size = t.size(); // Collection.size() is NOT found!
}
}
=====================================