public List<Object> buildJavaMethodParameters(AssetOptionsContext context,Map<String,String> availableAssets,AssetOptionsMethodInfo assetMethod){
  final List<Object> javaMethodParameters=Lists.newArrayList();
  javaMethodParameters.add(context);
  for (  String parentAssetName : assetMethod.assetDependencies) {
    String parentAssetValue=availableAssets.get(parentAssetName);
    int index=javaMethodParameters.size();
    Object value=assetMethod.convertParameter(index,parentAssetValue);
    javaMethodParameters.add(value);
  }
  return javaMethodParameters;
}

public List < Object > buildJavaMethodParameters ( AssetOptionsContext context , Map < String , String > availableAssets , AssetOptionsMethodInfo assetMethod ) { final List < Object > javaMethodParameters = Lists . newArrayList ( ) ; javaMethodParameters . add ( context ) ; for ( String parentAssetName : assetMethod . assetDependencies ) { String parentAssetValue = availableAssets . get ( parentAssetName ) ; int index = javaMethodParameters . size ( ) ; Object value = assetMethod . convertParameter ( index , parentAssetValue ) ; javaMethodParameters . add ( value ) ; } return javaMethodParameters ; }
build the list of parameter objects to hand in to the method invocation
