boolean (AssertHint assertHint) { final PsiClass containingClass = assertHint.getMethod().getContainingClass(); if (containingClass == null) { return false; } final PsiMethod primitiveOverload = CachedValuesManager.getCachedValue(containingClass, () -> { final PsiMethod patternMethod = JavaPsiFacade.getElementFactory(containingClass.getProject()) .createMethodFromText("public static void assertNotEquals(long a, long b){}", containingClass); return new CachedValueProvider.Result<>(containingClass.findMethodBySignature(patternMethod, true), PsiModificationTracker.MODIFICATION_COUNT); }); return primitiveOverload != null; }