IntelliJ IDEA 2017.1 shows "var" instead of actual type
2 answers
This behavior is caused by the Advanced Java Folding plugin . Either disable the plugin or change its setting to not dump certain code elements.
+24
source to share