protected override bool OnInvoke(IEnumerable <string> extras) { var archivePairs = Archives.Select(a => new MigrationPair(a.Key, a.Value)).ToArray(); var jetifier = new Jetifier { Verbose = Program.Verbose, JavaPath = JavaPath, Parallel = Parallel, UseIntermediateFile = UseIntermediateFile, }; jetifier.MessageLogged += (sender, e) => LogToolMessage(e); return(jetifier.Jetify(archivePairs)); }