private static boolean hasOwnReadObjectMethod(PsiClass aClass) {
    return ContainerUtil.exists(aClass.findMethodsByName("readObject", false), SerializationUtils::isReadObject);
  }
private static boolean hasOwnReadObjectMethod(PsiClass aClass)