protected List < String > buildArgumentList ( ) { // Use file.separator as a wild guess as to whether this is Windows final List < String > args = new ArrayList <> ( ) ; if ( ! StringUtils . isEmpty ( getSettings ( ) . getString ( Settings . KEYS . ANALYZER_ASSEMBLY_DOTNET_PATH ) ) ) { args . add ( getSettings ( ) . getString ( Settings . KEYS . ANALYZER_ASSEMBLY_DOTNET_PATH ) ) ; } else if ( isDotnetPath ( ) ) { args . add ( "dotnet" ) ; } else { return null ; } args . add ( grokAssembly . getPath ( ) ) ; return args ; }
Builds the beginnings of a List for ProcessBuilder