package org.gradle.internal.filewatch;
import org.gradle.api.JavaVersion;
import org.gradle.internal.Cast;
import org.gradle.internal.concurrent.ExecutorFactory;
import org.gradle.internal.concurrent.Stoppable;
<BUG>import java.lang.reflect.Constructor;
import java.util.concurrent.ExecutorService;</BUG>
public class DefaultFileWatcherFactory implements FileWatcherFactory, Stoppable {
private final ExecutorService executor;
public DefaultFileWatcherFactory(ExecutorFactory executorFactory) {

package org.gradle.internal.filewatch;
import org.gradle.api.JavaVersion;
import org.gradle.internal.Cast;
import org.gradle.internal.concurrent.ExecutorFactory;
import org.gradle.internal.concurrent.Stoppable;
import org.gradle.internal.reflect.DirectInstantiator;
import java.util.concurrent.ExecutorService;
public class DefaultFileWatcherFactory implements FileWatcherFactory, Stoppable {
private final ExecutorService executor;
public DefaultFileWatcherFactory(ExecutorFactory executorFactory) {
