void (PsiFile file, int app) { final PsiReference reference = file.findReferenceAt(app); assertNotNull(reference); if (reference instanceof PsiPolyVariantReference) { assertTrue(((PsiPolyVariantReference)reference).multiResolve(false).length > 0); } else { assertNotNull(reference.resolve()); } if (LOGGER.isDebugEnabled()) { LOGGER.info(String.valueOf(reference.resolve().getClass())); } }