Object retObject = null;
int i = 0;
while(i < params.size()){
MethodParameter param = params.get(i);
String parameterClass = param.getParameterClassAsString();
String parameterClassForXmlRetrieve = "arg" + i + "_" + parameterClass.replaceAll("\\.", "_");
Object nativeObject = null;
String paramClassAsString = param.getParameterClassAsString();
// get class for name if class not java class and not native (= contains . in class as package separator)
if(!paramClassAsString.startsWith("java.") && !paramClassAsString.startsWith("javax.") && paramClassAsString.indexOf(".") > -1){
partytypes[i] = Class.forName(paramClassAsString);
}