Skip to content

Tag: intellij-idea

Intellij not recognizing wrong return type

I have this method: Now my IDE complains (as expected, and which is correct) about this line, because the return type is supposed to be CacheResult What I currently dont understand, is that the IDE (IntelliJ) is not complaining about this: Which is actually wrong. What am I missing here? Answer This works bec…

Checking Run time in IntelliJ IDEA Ultimate

Can I use InteliJ Ultimate’s profiler to see how long it takes for a method to be executed? Answer Two particularly helpful tools for examining the program at runtime are the debugger and profilers. The debugger is very precise and gives you full and granular control over the execution of the program, w…