@Override
    public void visitMethod(@NotNull PsiMethod method) {
      super.visitMethod(method);
      if (MethodUtils.isComparatorCompare(method) && !ControlFlowUtils.methodAlwaysThrowsException(method)) {
        check(method, false);
      }
      if (MethodUtils.isCompareTo(method) && !ControlFlowUtils.methodAlwaysThrowsException(method)) {
        check(method, true);
      }
    }
@Override
    public void visitMethod(@NotNull PsiMethod method)