GroovyResolveResult (@NotNull PsiClassType.ClassResolveResult classResolveResult) { if (classResolveResult.getElement() == null) return EmptyGroovyResolveResult.INSTANCE; return new GroovyResolveResultImpl( classResolveResult.getElement(), null, null, classResolveResult.getSubstitutor(), classResolveResult.isAccessible(), classResolveResult.isStaticsScopeCorrect(), false, classResolveResult.isValidResult() ); }