Source:
private InstanceConfig(int num, NetworkTopology networkTopology, String broadcast_address, String listen_address, String broadcast_rpc_address, String rpc_address, String saved_caches_directory, String[] data_file_directories, String commitlog_directory, String hints_directory, String cdc_raw_directory, String initial_token) { this.num = num; this.networkTopology = networkTopology; this.hostId = java.util.UUID.randomUUID(); this .set("broadcast_address", broadcast_address) .set("listen_address", listen_address) .set("broadcast_rpc_address", broadcast_rpc_address) .set("rpc_address", rpc_address) .set("saved_caches_directory", saved_caches_directory) .set("data_file_directories", data_file_directories) .set("commitlog_directory", commitlog_directory) .set("hints_directory", hints_directory) .set("cdc_raw_directory", cdc_raw_directory) .set("initial_token", initial_token) .set("partitioner", "org.apache.cassandra.dht.Murmur3Partitioner") .set("concurrent_writes", 2) .set("concurrent_counter_writes", 2) .set("concurrent_materialized_view_writes", 2) .set("concurrent_reads", 2) .set("memtable_flush_writers", 1) .set("concurrent_compactors", 1) .set("memtable_heap_space_in_mb", 10) .set("commitlog_sync", "batch") .set("storage_port", 7012) .set("endpoint_snitch", org.apache.cassandra.distributed.impl.Snitch.class.getName()) .set("seed_provider", new ParameterizedClass(SimpleSeedProvider.class.getName(), Collections.singletonMap("seeds", "127.0.0.1:7012"))) .set("diagnostic_events_enabled", true) .forceSet("commitlog_sync_batch_window_in_ms", 1.0); this.featureFlags = EnumSet.noneOf(Feature.class); }

Target:
private InstanceConfig(int num, NetworkTopology networkTopology, String broadcast_address, String listen_address, String broadcast_rpc_address, String rpc_address, String saved_caches_directory, String[] data_file_directories, String commitlog_directory, String hints_directory, String cdc_raw_directory, String initial_token) { this.num = num; this.networkTopology = networkTopology; this.hostId = java.util.UUID.randomUUID(); this .set("broadcast_address", broadcast_address) .set("listen_address", listen_address) .set("broadcast_rpc_address", broadcast_rpc_address) .set("rpc_address", rpc_address) .set("saved_caches_directory", saved_caches_directory) .set("data_file_directories", data_file_directories) .set("commitlog_directory", commitlog_directory) .set("hints_directory", hints_directory) .set("cdc_raw_directory", cdc_raw_directory) .set("initial_token", initial_token) .set("partitioner", "org.apache.cassandra.dht.Murmur3Partitioner") .set("concurrent_writes", 2) .set("concurrent_counter_writes", 2) .set("concurrent_materialized_view_writes", 2) .set("concurrent_reads", 2) .set("memtable_flush_writers", 1) .set("concurrent_compactors", 1) .set("memtable_heap_space_in_mb", 10) .set("commitlog_sync", "batch") .set("storage_port", 7012) .set("endpoint_snitch", DistributedTestSnitch.class.getName()) .set("seed_provider", new ParameterizedClass(SimpleSeedProvider.class.getName(), Collections.singletonMap("seeds", "127.0.0.1:7012"))) .set("diagnostic_events_enabled", true) .forceSet("commitlog_sync_batch_window_in_ms", 1.0); this.featureFlags = EnumSet.noneOf(Feature.class); }