for (int idx = 0; idx < functionSignatureMapper.parameterList().size(); idx++) {
sb.append(generateClassObjectInitializationFor(functionSignatureMapper, idx));
sb.append(generateInitializationStatementForJniPrototype(functionSignatureMapper, idx));
}
sb.append(generateMethodCall(functionSignatureMapper));
<BUG>sb.append(generatePtrDeleteStatements(functionSignatureMapper));</BUG>
sb.append(generateReturnStatement(functionSignatureMapper));
return sb.toString();
}
<BUG>protected String generateReturnStatement(FunctionSignatureMapper functionSignatureMapper){
</BUG>
return "\treturn " + generateReturnObjectName(functionSignatureMapper.returnTypeMapper().cppType()) + ";\n";

for (int idx = 0; idx < functionSignatureMapper.parameterList().size(); idx++) {
sb.append(generateClassObjectInitializationFor(functionSignatureMapper, idx));
sb.append(generateInitializationStatementForJniPrototype(functionSignatureMapper, idx));
}
sb.append(generateMethodCall(functionSignatureMapper));
sb.append(generateReturnStatement(functionSignatureMapper));
return sb.toString();
