Source:
public HiveSplitManager( Function<HiveTransactionHandle, SemiTransactionalHiveMetastore> metastoreProvider, NamenodeStats namenodeStats, HdfsEnvironment hdfsEnvironment, DirectoryLister directoryLister, Executor executor, CoercionPolicy coercionPolicy, CounterStat highMemorySplitSourceCounter, int maxOutstandingSplits, DataSize maxOutstandingSplitsSize, int minPartitionBatchSize, int maxPartitionBatchSize, int maxInitialSplits, int splitLoaderConcurrency, boolean recursiveDfsWalkerEnabled, S3SelectPushdown s3SelectPushdown) { this.metastoreProvider = requireNonNull(metastoreProvider, "metastore is null"); this.namenodeStats = requireNonNull(namenodeStats, "namenodeStats is null"); this.hdfsEnvironment = requireNonNull(hdfsEnvironment, "hdfsEnvironment is null"); this.directoryLister = requireNonNull(directoryLister, "directoryLister is null"); this.executor = new ErrorCodedExecutor(executor); this.coercionPolicy = requireNonNull(coercionPolicy, "coercionPolicy is null"); this.highMemorySplitSourceCounter = requireNonNull(highMemorySplitSourceCounter, "highMemorySplitSourceCounter is null"); checkArgument(maxOutstandingSplits >= 1, "maxOutstandingSplits must be at least 1"); this.maxOutstandingSplits = maxOutstandingSplits; this.maxOutstandingSplitsSize = maxOutstandingSplitsSize; this.minPartitionBatchSize = minPartitionBatchSize; this.maxPartitionBatchSize = maxPartitionBatchSize; this.maxInitialSplits = maxInitialSplits; this.splitLoaderConcurrency = splitLoaderConcurrency; this.recursiveDfsWalkerEnabled = recursiveDfsWalkerEnabled; this.s3SelectPushdown = s3SelectPushdown; }

Target:
public HiveSplitManager( Function<HiveTransactionHandle, SemiTransactionalHiveMetastore> metastoreProvider, NamenodeStats namenodeStats, HdfsEnvironment hdfsEnvironment, DirectoryLister directoryLister, Executor executor, CoercionPolicy coercionPolicy, CounterStat highMemorySplitSourceCounter, int maxOutstandingSplits, DataSize maxOutstandingSplitsSize, int minPartitionBatchSize, int maxPartitionBatchSize, int maxInitialSplits, int splitLoaderConcurrency, boolean recursiveDfsWalkerEnabled, S3SelectPushdown s3SelectPushdown) { this.metastoreProvider = requireNonNull(metastoreProvider, "metastore is null"); this.namenodeStats = requireNonNull(namenodeStats, "namenodeStats is null"); this.hdfsEnvironment = requireNonNull(hdfsEnvironment, "hdfsEnvironment is null"); this.directoryLister = requireNonNull(directoryLister, "directoryLister is null"); this.executor = new ErrorCodedExecutor(executor); this.coercionPolicy = requireNonNull(coercionPolicy, "coercionPolicy is null"); this.highMemorySplitSourceCounter = requireNonNull(highMemorySplitSourceCounter, "highMemorySplitSourceCounter is null"); checkArgument(maxOutstandingSplits >= 1, "maxOutstandingSplits must be at least 1"); this.maxOutstandingSplits = maxOutstandingSplits; this.maxOutstandingSplitsSize = maxOutstandingSplitsSize; this.minPartitionBatchSize = minPartitionBatchSize; this.maxPartitionBatchSize = maxPartitionBatchSize; this.maxInitialSplits = maxInitialSplits; this.splitLoaderConcurrency = splitLoaderConcurrency; this.recursiveDfsWalkerEnabled = recursiveDfsWalkerEnabled; this.s3SelectPushdown = requireNonNull(s3SelectPushdown, "s3SelectPushdown is null"); }