IDEA-97769: Fixed compatibility with IntelliJ IDEA 12