/** * Returns a new LauncherDir or null if not enabled. */ static LauncherDir maybeCreate(Options options) { if (options.getLauncherDir() == null) { return null; } return new LauncherDir(options); }
/** * Returns a new LauncherDir or null if not enabled. */ static LauncherDir maybeCreate(Options options) { if (options.getLauncherDir() == null) { return null; } return new LauncherDir(options); }
/** * @see #maybeCreate */ private LauncherDir(Options options) { this.launcherDir = Preconditions.checkNotNull(options.getLauncherDir()); this.options = options; }
/** * @see #maybeCreate */ private LauncherDir(Options options) { this.launcherDir = Preconditions.checkNotNull(options.getLauncherDir()); this.options = options; }