}
private String generateInitializationStatementForJniPrototype(FunctionSignatureMapper functionSignatureMapper, int variableIndex) {
CppBean cppBean = functionSignatureMapper.parameterList().get(variableIndex).cppType();
String cppVariableName = JniUtils.generateCppVariableName(cppBean, "", variableIndex);
String arguments = generateConstructorCallerArgsSection(cppBean, variableIndex);
<BUG>String args = (arguments == null || arguments.isEmpty()) ? "" : arguments;
return String.format("\t%s *%s = new %s(%s);\n", cppBean.getCppClassName(), cppVariableName, cppBean.getCppClassName(), args);
</BUG>
}
private String generateJNIArgumentPrototypeDecl(List<TypeMapper> parameterList) {

}
private String generateInitializationStatementForJniPrototype(FunctionSignatureMapper functionSignatureMapper, int variableIndex) {
CppBean cppBean = functionSignatureMapper.parameterList().get(variableIndex).cppType();
String cppVariableName = JniUtils.generateCppVariableName(cppBean, "", variableIndex);
String arguments = generateConstructorCallerArgsSection(cppBean, variableIndex);
String args = (arguments == null || arguments.isEmpty()) ? "" : arguments;
String retType = JniUtils.wrapInSharedPtr(cppBean.getCppClassName(), PASS_BY_VALUE);
return String.format("\t%s %s = std::make_shared<%s>(%s);\n", retType, cppVariableName, cppBean.getCppClassName(), args);
}
private String generateJNIArgumentPrototypeDecl(List<TypeMapper> parameterList) {
