Erb wrote: > The reason it does this is you might wish to type > get((int)o.hashCode())
Yes, I did consider that, but I think it's not very likely that I'll write things in this order: 1) get(o) -- oops, it needs a cast to int 2) get((int)o) -- oops, I need to add ".hashCode()" at the end 3) get((int)o.hashCode()) It's more likely that I'm doing this: 1) get(o.hashCode()) -- oops, it needs a cast to int 2) get((int)o.hashCode()) -- no need to suggest String Or this: 1) get(o) -- oops, need to cast to String 2) get((String)o) -- no need to suggest int Or that I realize I need a cast immediately, before I write the expression: 1) get((| -- <ctrl-shift-space> suggests int and String _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
