Ctrl + Alt + M is used in IntelliJ IDEA to extract method. Ctrl + Alt + M. It's as simple as selecting a piece of code and hitting this combination. Eclipse also has it. I hate long methods. To the point where this smells way too long for me: public void processOnEndOfDay(Contract c) { if (DateUtils.addDays(c.getCreated(), 7).before(new Date())) { priorityHandling(c, OUTDATED_FEE); notifyOutdated(
![How aggressive is method inlining in JVM?](https://cdn-ak-scissors.b.st-hatena.com/image/square/3fd96d514538ed54bb956a18e59ca5d5c1ceaf6b/height=288;version=1;width=512/https%3A%2F%2Fnurkiewicz.com%2Fassets%2Fimg%2Fcover.jpg)