Avoid full references search for languages without PsiClass (KT-14974)

Make smart type search work for Groovy.

 #KT-14974 Fixed
This commit is contained in:
Nikolay Krasko
2017-04-18 17:54:36 +03:00
parent 102310e3c2
commit 111f0b1e66
8 changed files with 189 additions and 54 deletions
@@ -1,6 +1,6 @@
class GroovyClass extends JavaWithGroovyInvoke_0 {
def fieldNoType = new JavaWithGroovyInvoke_0.OtherJavaClass()
def JavaWithGroovyInvoke_0.OtherJavaClass fieldWithType = new JavaWithGroovyInvoke_0.OtherJavaClass()
public def fieldNoType = new JavaWithGroovyInvoke_0.OtherJavaClass()
public def JavaWithGroovyInvoke_0.OtherJavaClass fieldWithType = fieldNoType
def methodNoType() {
new JavaWithGroovyInvoke_0.OtherJavaClass()