boolean (@Nullable PsiMethod method, @Nullable ChronoField chronoField) { if (method == null || chronoField == null) { return false; } String methodName = method.getName(); if (!"get".equals(methodName) && !"getLong".equals(methodName)) { return false; } if (!CHRONO_ALL_GET_MATCHERS.methodMatches(method)) { return false; } if ("get".equals(methodName) && !chronoField.range().isIntValue()) { return false; } String classQualifiedName = getQualifiedName(method); if (classQualifiedName == null) { return false; } if (!isAvailableByType(chronoField, classQualifiedName)) { return false; } return true; }