code: protected List<String> resolveScalacOptions( CompilerConfiguration configuration )
      {
          String scalacOptions = configuration.getScalacOptions();
          String sourceEncoding = configuration.getSourceEncoding();
          List<String> result = new ArrayList<String>( Arrays.asList( parseArgLine( scalacOptions ) ) );
          if ( !result.contains( "-encoding" ) && sourceEncoding != null && sourceEncoding.length() > 0 )
          {
              result.add( "-encoding" );
              result.add( sourceEncoding );
          }
          return result;
      }
docs: Returns merged {@code scalaOptions} and {@code sourceEncoding} configuration parameters.
  
  @param configuration compiler configuration object
  @return merged parameters