@ Override public boolean accept ( File file ) { return WatcherUtils . isInDirectory ( file , WatcherUtils . getJavaSource ( basedir ) ) ; }
Checks whether or not an event on the given file should trigger the Java compilation .