public static boolean isSerializationMethod(@NotNull UMethod method, @Nullable RefClass refClass) {
    return isReadObjectMethod(method, refClass) ||
           isReadObjectNoDataMethod(method, refClass) ||
           isWriteObjectMethod(method, refClass) ||
           isReadResolveMethod(method, refClass) ||
           isWriteReplaceMethod(method, refClass) ||
           isExternalizableNoParameterConstructor(method, refClass);
  }
public static boolean isSerializationMethod(@NotNull UMethod method, @Nullable RefClass refClass)