private void addInnerActionElements(Map<String,String> properties,int configurationPosition,Directives directives,Map<String,List<String>> interpolated,Map<String,List<String>> positional){
  List<Map.Entry<String,List<String>>> entries=new ArrayList<>();
  if (interpolated != null) {
    entries.addAll(interpolated.entrySet());
  }
  if (positional != null) {
    entries.addAll(positional.entrySet());
  }
  for (int i=0; i < entries.size(); i++) {
    if (configurationPosition == i) {
      createConfigurationElement(properties,directives);
    }
    addKeyMultiValueElements(entries.get(i),directives);
  }
  if (entries.size() < configurationPosition) {
    createConfigurationElement(properties,directives);
  }
}

private void addInnerActionElements ( Map < String , String > properties , int configurationPosition , Directives directives , Map < String , List < String > > interpolated , Map < String , List < String > > positional ) { List < Map . Entry < String , List < String > > > entries = new ArrayList < > ( ) ; if ( interpolated != null ) { entries . addAll ( interpolated . entrySet ( ) ) ; } if ( positional != null ) { entries . addAll ( positional . entrySet ( ) ) ; } for ( int i = 0 ; i < entries . size ( ) ; i ++ ) { if ( configurationPosition == i ) { createConfigurationElement ( properties , directives ) ; } addKeyMultiValueElements ( entries . get ( i ) , directives ) ; } if ( entries . size ( ) < configurationPosition ) { createConfigurationElement ( properties , directives ) ; } }
add elements to the inner action tag ( e . g . java as opposed to the outer action tag )
