public static boolean isPlusMinusSupported(@Nullable PsiMethod method, @Nullable ChronoUnit chronoUnit) {
    if (method == null || chronoUnit == null) {
      return false;
    }
    String methodName = method.getName();
    if (!"plus".equals(methodName) && !"minus".equals(methodName)) {
      return false;
    }
    if (!CHRONO_PLUS_MINUS_MATCHERS.methodMatches(method)) {
      return false;
    }
    String classQualifiedName = getQualifiedName(method);
    if (classQualifiedName == null) {
      return false;
    }
    if (!isAvailableByType(chronoUnit, classQualifiedName)) {
      return false;
    }
    return true;
  }
public static boolean isPlusMinusSupported(@Nullable PsiMethod method, @Nullable ChronoUnit chronoUnit)