private static boolean isGetter(Object object) {
    if (!(object instanceof PsiMethod method)) return false;

    if (!PropertyUtilBase.hasGetterName(method)) return false;
    if (method.hasTypeParameters()) return false;

    return !KnownElementWeigher.isGetClass(method);
  }
private static boolean isGetter(Object object)