without types, all you have is the variable name to guess what it does.
IDEs help but there's only so much they can do.
Not just that, let's say even if type is known but some of the methods are generated on runtime than IDE has no idea about it.