Add source path for intellij-core.jar
Copy IDE renderer from IDEA plugin

Use it to avoid generating platform types