private Map<PluginUtil.CheckerProp,Object> makeProps(){
  final String sourcePath=StringUtils.join(compileSourceRoots.iterator(),File.pathSeparator);
  final List<String> miscOptions=new ArrayList<String>();
  miscOptions.add("-sourcepath");
  miscOptions.add(sourcePath);
  if (!StringUtils.isEmpty(javaParams)) {
    miscOptions.addAll(PluginUtil.toJavaOpts(Arrays.asList(javaParams.split(" "))));
  }
  if (!StringUtils.isEmpty(javacParams)) {
    miscOptions.addAll(Arrays.asList(javacParams.split(" ")));
  }
  final Map<PluginUtil.CheckerProp,Object> props=new HashMap<PluginUtil.CheckerProp,Object>();
  props.put(PluginUtil.CheckerProp.MISC_COMPILER,miscOptions);
  return props;
}

private Map < PluginUtil . CheckerProp , Object > makeProps ( ) { final String sourcePath = StringUtils . join ( compileSourceRoots . iterator ( ) , File . pathSeparator ) ; final List < String > miscOptions = new ArrayList < String > ( ) ; miscOptions . add ( "-sourcepath" ) ; miscOptions . add ( sourcePath ) ; if ( ! StringUtils . isEmpty ( javaParams ) ) { miscOptions . addAll ( PluginUtil . toJavaOpts ( Arrays . asList ( javaParams . split ( " " ) ) ) ) ; } if ( ! StringUtils . isEmpty ( javacParams ) ) { miscOptions . addAll ( Arrays . asList ( javacParams . split ( " " ) ) ) ; } final Map < PluginUtil . CheckerProp , Object > props = new HashMap < PluginUtil . CheckerProp , Object > ( ) ; props . put ( PluginUtil . CheckerProp . MISC_COMPILER , miscOptions ) ; return props ; }
todo : think of a better way to do checkerprops , it ' s weird to have some params built in todo : and some as misc_options
