public void registerDeleted(@Nullable CompileContext context,
                              BuildTarget<?> target,
                              File file,
                              @Nullable StampsStorage<? extends StampsStorage.Stamp> stampStorage) throws IOException {
    registerDeleted(context, target, file);
    if (stampStorage != null) {
      stampStorage.removeStamp(file, target);
    }
  }
public void registerDeleted(@Nullable CompileContext context,
                              BuildTarget<?> target,
                              File file,
                              @Nullable StampsStorage<? extends StampsStorage.Stamp> stampStorage)