Community
Participate
Working Groups
I20050527-1300 ITypeBinding#isFromSource() is currently always false for type variables, wildcards, and capture types. Javadoc tells a different story. I would expect true iff a type variable or a capture binding originates from source. For wildcards, I guess the query should always return false (since wildcard bindings are the same whether they're from source or from binary). The javadoc should tell that.
Do you need it for RC2?
No, that's not too urgent for me.
Do you need it for 3.1?
No, I don't need it for 3.1. I saw that Martin often uses the query in quick fixes, but since there was no PR for this so far, I guess all our code works around it or doesn't call isFromSource() on such bindings.
Philippe, we might want to fix this for 3.1.1
Agreed, need to assess UI side consequences if any.
Markus, is it ok to fix this for 3.1.1?
> Markus, is it ok to fix this for 3.1.1? Yes, no problem as long as tests stay green ;-)
Fixed and released in 3.1 maintenance stream. Adapted existing tests.
Verified with 3.2 M1
Verified for 3.1.1 using build M20050923-1430 (verified test cases).
Verified.