For example, IntelliJ doesn’t show the static sleep method on an instance variable
Thread z = new Thread();
z.sleep(1000); // Eclipse shows sleep as part of z, while IntelliJ do not
It would appear that sleep is part of z variable
How to prevent Eclipse from showing static methods on instance variable? And how to make that a compilation error if at all possible, Eclipse-wise and in command-line?
Not sure you can remove it from options, but you can make Eclipse yield error for that:
Preferences -> Java -> Compiler -> Errors/warnings -> Non-static access to static member -> set as Error.