ResolveResult[] (PsiReference ref, boolean physical, boolean ic) { synchronized (PsiLock.LOCK) { int index = getIndex(physical, ic); final Reference<ResolveResult[]> reference = (Reference<ResolveResult[]>)myPolyVariantResolveMaps[index].get(ref); if(reference == null) return null; return reference.get(); } }