@Nullable
  static private String getComparingMethod(@NotNull PsiType type) {
    if (type.equals(PsiTypes.intType())) return "comparingInt";
    if (type.equals(PsiTypes.doubleType())) return "comparingDouble";
    if (type.equals(PsiTypes.longType())) return "comparingLong";
    if (InheritanceUtil.isInheritor(type, CommonClassNames.JAVA_LANG_COMPARABLE)) return "comparing";
    return null;
  }
@Nullable
  static private String getComparingMethod(@NotNull PsiType type)