void (GeneralCommandLine commandLine) { final String interpreterPath = getInterpreterPath(); Sdk sdk = getSdk(); if (sdk != null && interpreterPath != null) { patchCommandLineFirst(commandLine, interpreterPath); patchCommandLineForVirtualenv(commandLine, sdk); patchCommandLineLast(commandLine, interpreterPath); } }