<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Nadeesh,<br>
the translation strategy has morphed a little... now all the code
models are generated into a separate static nested class -- in
this case:
build/hat-example-mandel-1.0.classes/mandel/Main$$CM.class</p>
<p>We did this to limit the size of the generated code by sharing
common code patterns among all the code models in a class (see
<a class="moz-txt-link-freetext" href="https://git.openjdk.org/babylon/pull/679">https://git.openjdk.org/babylon/pull/679</a>)<br>
</p>
<p>Hope this helps<br>
Maurizio<br>
</p>
<div class="moz-cite-prefix">On 29/11/2025 00:26, nadeesh t v wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAB7psUMdLJFd=enVgVdoZNc+EqmOLA4vaAe-Er3_py3D_c9eaQ@mail.gmail.com">
<div dir="ltr">
<div>Hello,</div>
<div>IIRC some of the talks, code models are stored in class
files. But when I have inspected the class file of one of
the <span class="gmail-Apple-converted-space"> </span><a href="https://github.com/openjdk/babylon/blob/code-reflection/hat/docs/hat-01-03-building-hat.md" moz-do-not-send="true">example</a>s from HAT using <b>javap</b>,
I have not seen that in the class file.</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">javap
-c -v
build/hat-example-mandel-1.0.classes/mandel/Main.class<span class="gmail-Apple-converted-space"> </span></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"><br>
</span></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)">Have
I overlooked the class file or is it not in the class file? </p>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div>Thanks and Regards,<br>
Nadeesh TV<br>
</div>
<br>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</body>
</html>