boolean (@Nullable PsiMethod method, @Nullable ChronoField chronoField) { if (method == null || chronoField == null) { return false; } if (!"with".equals(method.getName())) { return false; } if (!CHRONO_WITH_MATCHERS.methodMatches(method)) { return false; } String classQualifiedName = getQualifiedName(method); if (classQualifiedName == null) { return false; } if (!isAvailableByType(chronoField, classQualifiedName)) { return false; } return true; }