diff --git a/src/gen_cpp_Engine.ysl2 b/src/gen_cpp_Engine.ysl2 index 0e9a939..85a1360 100644 --- a/src/gen_cpp_Engine.ysl2 +++ b/src/gen_cpp_Engine.ysl2 @@ -152,6 +152,14 @@ tstylesheet { || + when "$type = 'identity'" + || + jobject «$name»_ = NULL; + if (_«$retname») + «$name»_ = from_identity(env, _«$retname»); + + || + when "ancestor::namespace/child::enum[@name=$jtype]" { const "ljtype" call "lcase" with "text","$jtype"; ||