private void writeJavaParameterSpec(JavaParameterSpec spec,Document document,Element parentElement){
  Element parameter=document.createElement("parameter");
  parentElement.appendChild(parameter);
  parameter.setAttribute("package",spec.getPackageName());
  parameter.setAttribute("class",spec.getClassName());
  parameter.setAttribute("method",spec.getHalfSignature());
  parameter.setAttribute("parameter",Integer.toString(spec.getParamIdx()));
}

private void writeJavaParameterSpec ( JavaParameterSpec spec , Document document , Element parentElement ) { Element parameter = document . createElement ( "parameter" ) ; parentElement . appendChild ( parameter ) ; parameter . setAttribute ( "package" , spec . getPackageName ( ) ) ; parameter . setAttribute ( "class" , spec . getClassName ( ) ) ; parameter . setAttribute ( "method" , spec . getHalfSignature ( ) ) ; parameter . setAttribute ( "parameter" , Integer . toString ( spec . getParamIdx ( ) ) ) ; }
writes out a source / sink specification object for java method parameters
