When I have a variable of base class/interface type which references a subclass object, I expect code completion on the variable to show only methods visible to the base type. See the snapshot below. In this example, code complete on variable of type Queue is showing methods of LinkedList too.
Is there a way tune the behavior? Or is it a bug?