Blog Archives

Visitor pattern in Java

This is a really nice and simple pattern. Imagine having a collection of objects. Let’s have a class Feature with single method String getName(). Of course the class hierarchy grows in time and here come two additional features: BooleanFeature and

Tagged with: ,
Posted in Uncategorized

Intellij Language Injection

Pressing Alt+Enter in Intellij in random places is sometimes beneficial. Today I’ve found a feature which has been built in Intellij since version 6. So, Alt+Enter on String and I could inject a language… Nothing popped up in my mind.

Tagged with: ,
Posted in Uncategorized