At some point I turned Google "code tips" on, but I've almost never used it (I no longer default to Google).

I wanted a lazy way in Java to expand '~' in file paths to home dirs , so I tried Google.

It gave me a very clear, precise, plausible answer!

But the method to which it confidently directs me... just does not exist?!