void () { JavaResolveResult result = advancedResolve(); assertNotNull(result.getElement()); assertTrue(result instanceof MethodCandidateInfo); assertFalse(result.isValidResult()); assertFalse(((MethodCandidateInfo)result).isApplicable()); final PsiClass aClass = ((PsiMethod)result.getElement()).getContainingClass(); assertNotNull(aClass.getContainingClass()); }