public <T extends StaticLibraryArchiverSpec> Compiler<T> createStaticLibraryArchiver() { CommandLineTool<StaticLibraryArchiverSpec> commandLineTool = commandLineTool("Static library archiver", install.getStaticLibArchiver(targetPlatform)); return (Compiler<T>) new LibExeStaticLibraryArchiver(commandLineTool); }