<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vaadin-framework.git/eclipse, branch 7.2.0</title>
<subtitle>Vaadin 6, 7, 8 is a Java framework for modern Java web applications: https://github.com/vaadin/framework</subtitle>
<id>https://source.dussan.org/vaadin-framework.git/atom?h=7.2.0</id>
<link rel='self' href='https://source.dussan.org/vaadin-framework.git/atom?h=7.2.0'/>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/'/>
<updated>2014-05-06T06:21:45+00:00</updated>
<entry>
<title>DevelopmentServletLoader: Reload servlet container</title>
<updated>2014-05-06T06:21:45+00:00</updated>
<author>
<name>Manolo Carrasco</name>
<email>manolo@vaadin.com</email>
</author>
<published>2014-04-03T15:05:47+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=0b8545e48796a0922f3a0680aa53e29d70b3cb03'/>
<id>urn:sha1:0b8545e48796a0922f3a0680aa53e29d70b3cb03</id>
<content type='text'>
- Add a couple of parameters in order make jetty context
  reload whenever a class is modified.
- Remove deprecated SSL API calls.

Change-Id: I737fb92e78ce5573a4473639f25fcdad606f3c55
</content>
</entry>
<entry>
<title>Remove non-existant theme-compiler from launch</title>
<updated>2014-05-05T13:22:18+00:00</updated>
<author>
<name>Artur Signell</name>
<email>artur@vaadin.com</email>
</author>
<published>2014-05-05T13:22:18+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=12a96b21c1522b4432578ff77f27bb7582d90729'/>
<id>urn:sha1:12a96b21c1522b4432578ff77f27bb7582d90729</id>
<content type='text'>
Change-Id: I0d438ebee1b922a2d6eeae6abb0cd69c16848620
</content>
</entry>
<entry>
<title>Fixed broken launch configuration (#13053)</title>
<updated>2014-01-15T12:11:42+00:00</updated>
<author>
<name>Artur Signell</name>
<email>artur@vaadin.com</email>
</author>
<published>2014-01-15T12:11:42+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=2483059bca6b925d548a0fd3bf51ff309a3b28e1'/>
<id>urn:sha1:2483059bca6b925d548a0fd3bf51ff309a3b28e1</id>
<content type='text'>
Change-Id: Ifa9f127d29cc3b4fb0a694ad2f7665b3ef34b028
</content>
</entry>
<entry>
<title>Ensure DevelopmentLauncher uses servlet 3.0 API (#13053)</title>
<updated>2014-01-13T11:51:35+00:00</updated>
<author>
<name>Artur Signell</name>
<email>artur@vaadin.com</email>
</author>
<published>2014-01-13T11:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=d4695494591bccb7b1dd4358133f8b5e854c3cbb'/>
<id>urn:sha1:d4695494591bccb7b1dd4358133f8b5e854c3cbb</id>
<content type='text'>
Rendering of JSP pages does not work if servlet 2.5 API comes before servlet 3.0 API on the classpath

Change-Id: I6f6bbdb22142848b424c991a15b058ea66ec4eac
</content>
</entry>
<entry>
<title>Include uitest/src in development mode launch to make it work with TestingWidgetSet</title>
<updated>2013-04-26T05:53:57+00:00</updated>
<author>
<name>Artur Signell</name>
<email>artur@vaadin.com</email>
</author>
<published>2013-04-25T16:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=04a0c678bfbdf141468a0ab4e93d67a52da851d4'/>
<id>urn:sha1:04a0c678bfbdf141468a0ab4e93d67a52da851d4</id>
<content type='text'>
Change-Id: I609e6eb97add4a1417753b6dce2369d71b017978
</content>
</entry>
<entry>
<title>Launch configurations for dev server and dev mode (#11363)</title>
<updated>2013-03-18T16:08:01+00:00</updated>
<author>
<name>Artur Signell</name>
<email>artur@vaadin.com</email>
</author>
<published>2013-03-18T15:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://source.dussan.org/vaadin-framework.git/commit/?id=2af6ce58f8e68c250889b3eafe20171d5f139d34'/>
<id>urn:sha1:2af6ce58f8e68c250889b3eafe20171d5f139d34</id>
<content type='text'>
Change-Id: I6e632e0dcab4826f1eafa8ac534425000fd8dfde
</content>
</entry>
n31'>31</a>
<a id='n32' href='#n32'>32</a>
<a id='n33' href='#n33'>33</a>
<a id='n34' href='#n34'>34</a>
<a id='n35' href='#n35'>35</a>
<a id='n36' href='#n36'>36</a>
<a id='n37' href='#n37'>37</a>
<a id='n38' href='#n38'>38</a>
<a id='n39' href='#n39'>39</a>
<a id='n40' href='#n40'>40</a>
<a id='n41' href='#n41'>41</a>
<a id='n42' href='#n42'>42</a>
<a id='n43' href='#n43'>43</a>
<a id='n44' href='#n44'>44</a>
<a id='n45' href='#n45'>45</a>
<a id='n46' href='#n46'>46</a>
<a id='n47' href='#n47'>47</a>
<a id='n48' href='#n48'>48</a>
<a id='n49' href='#n49'>49</a>
<a id='n50' href='#n50'>50</a>
<a id='n51' href='#n51'>51</a>
<a id='n52' href='#n52'>52</a>
<a id='n53' href='#n53'>53</a>
<a id='n54' href='#n54'>54</a>
<a id='n55' href='#n55'>55</a>
<a id='n56' href='#n56'>56</a>
<a id='n57' href='#n57'>57</a>
<a id='n58' href='#n58'>58</a>
<a id='n59' href='#n59'>59</a>
<a id='n60' href='#n60'>60</a>
<a id='n61' href='#n61'>61</a>
<a id='n62' href='#n62'>62</a>
<a id='n63' href='#n63'>63</a>
<a id='n64' href='#n64'>64</a>
<a id='n65' href='#n65'>65</a>
<a id='n66' href='#n66'>66</a>
<a id='n67' href='#n67'>67</a>
<a id='n68' href='#n68'>68</a>
<a id='n69' href='#n69'>69</a>
<a id='n70' href='#n70'>70</a>
<a id='n71' href='#n71'>71</a>
<a id='n72' href='#n72'>72</a>
<a id='n73' href='#n73'>73</a>
<a id='n74' href='#n74'>74</a>
<a id='n75' href='#n75'>75</a>
<a id='n76' href='#n76'>76</a>
<a id='n77' href='#n77'>77</a>
<a id='n78' href='#n78'>78</a>
<a id='n79' href='#n79'>79</a>
<a id='n80' href='#n80'>80</a>
<a id='n81' href='#n81'>81</a>
<a id='n82' href='#n82'>82</a>
<a id='n83' href='#n83'>83</a>
<a id='n84' href='#n84'>84</a>
</pre></td>
<td class='lines'><pre><code><style>pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */</style><div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/perl</span>

<span class="c1">## Just a perl script to extract an interface from a class.</span>
<span class="c1">## It extract all public methods and copies the javadoc.</span>
<span class="c1">## - With the option --lazy it does the work for Lazy classes </span>
<span class="c1">##     and generates the file with the &#39;Lazy&#39; prefix</span>
<span class="c1">## - Without --lazy it generates a file with the &#39;I&#39; prefix</span>

<span class="k">my</span><span class="w"> </span><span class="p">(</span><span class="nv">$i</span><span class="p">,</span><span class="w"> </span><span class="nv">$o</span><span class="p">,</span><span class="w"> </span><span class="nv">$lazy</span><span class="p">);</span>

<span class="k">foreach</span><span class="w"> </span><span class="p">(</span><span class="nv">@ARGV</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">  </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^--input=(.*)$/</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">    </span><span class="nv">$o</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$i</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$1</span><span class="p">;</span>
<span class="w">  </span><span class="p">}</span><span class="w"> </span><span class="k">elsif</span><span class="w"> </span><span class="p">(</span><span class="sr">/^--lazy$/</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">    </span><span class="nv">$lazy</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="p">;</span>
<span class="w">  </span><span class="p">}</span>
<span class="p">}</span>

<span class="k">my</span><span class="w"> </span><span class="nv">$iclass</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$i</span><span class="w"> </span><span class="o">=~</span><span class="sr"> /^.*\/([^\.]+)\.java$/</span><span class="p">);</span>
<span class="k">my</span><span class="w"> </span><span class="nv">$oclass</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="nv">$lazy</span><span class="w"> </span><span class="p">?</span><span class="w"> </span><span class="s">&quot;Lazy&quot;</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="s">&quot;I&quot;</span><span class="p">)</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="nv">$iclass</span><span class="p">;</span>

<span class="nv">$o</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/$iclass/$oclass/</span><span class="p">;</span>
<span class="k">my</span><span class="w"> </span><span class="nv">$c</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span>

<span class="nb">open</span><span class="p">(</span><span class="n">F</span><span class="p">,</span><span class="w"> </span><span class="nv">$i</span><span class="p">)</span><span class="w"> </span><span class="o">||</span><span class="w"> </span><span class="nb">die</span><span class="w"> </span><span class="vg">$!</span><span class="p">;</span>
<span class="k">my</span><span class="w"> </span><span class="p">(</span><span class="nv">$in</span><span class="p">,</span><span class="w"> </span><span class="nv">$com</span><span class="p">,</span><span class="w"> </span><span class="nv">$ingq</span><span class="p">,</span><span class="w"> </span><span class="nv">$inclass</span><span class="p">,</span><span class="w"> </span><span class="nv">$inh</span><span class="p">,</span><span class="w"> </span><span class="nv">$head</span><span class="p">,</span><span class="w"> </span><span class="nv">$body</span><span class="p">,</span><span class="w"> </span><span class="nv">$inmeth</span><span class="p">,</span><span class="w"> </span><span class="nv">$meth</span><span class="p">,</span><span class="w"> </span><span class="nv">$dep</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">);</span>
<span class="k">my</span><span class="w"> </span><span class="p">(</span><span class="nv">$a</span><span class="p">,</span><span class="w"> </span><span class="nv">$b</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">);</span>
<span class="k">while</span><span class="p">(</span><span class="sr">&lt;F&gt;</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">   </span><span class="sr">s/\r+//g</span><span class="p">;</span>
<span class="w">   </span><span class="sr">s/^\s+//g</span><span class="p">;</span>
<span class="w">   </span><span class="sr">s/^(\*.*)$/ $1/g</span><span class="p">;</span>
<span class="w">   </span><span class="nv">$inh</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^\/\*\*/</span><span class="p">);</span>
<span class="w">   </span><span class="nv">$head</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="nv">$_</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$inh</span><span class="p">);</span>
<span class="w">   </span><span class="nv">$inclass</span><span class="o">=</span><span class="mi">1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nv">$in</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="nv">$ingq</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="sr">m/(^|\s+|\()(class|enum|new) /</span><span class="p">);</span>
<span class="w">   </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$ingq</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="o">!</span><span class="nv">$inclass</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">      </span><span class="nv">$in</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^\/\**\s*$/</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$com</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^\/\**\s*$/</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$dep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^\s*\@Deprecated/</span><span class="p">);</span>
<span class="w">      </span><span class="k">next</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="sr">/static/</span><span class="p">;</span>
<span class="w">      </span><span class="k">next</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="sr">/$iclass\s*\(/</span><span class="p">;</span>
<span class="w">      </span><span class="nv">$inmeth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nv">$inmeth</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="o">!</span><span class="nv">$in</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="sr">/(public .*?\(.*)\s*$/</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$dep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$inmeth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$dep</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="nv">$inmeth</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$dep</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$in</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$dep</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="nv">$in</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$meth</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="nv">$_</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$inmeth</span><span class="p">);</span>
<span class="w">      </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$inmeth</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="sr">/\{/</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">         </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/final\s+//g</span><span class="p">;</span>
<span class="w">         </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/public\s+//g</span><span class="p">;</span>
<span class="w">         </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/\{\s*//g</span><span class="p">;</span>
<span class="w">         </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/\s+$//g</span><span class="p">;</span>
<span class="w">         </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="sr">/$oclass/</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">            </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/([^\(]*?)$iclass(\s+.*\()/$1$oclass&lt;T&gt;$2/g</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$lazy</span><span class="p">);</span>
<span class="w">            </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/\n/ /g</span><span class="p">;</span>
<span class="w">            </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=~</span><span class="w"> </span><span class="sr">s/ +/ /g</span><span class="p">;</span>
<span class="w">            </span><span class="nv">$body</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="s">&quot;$com&quot;</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nv">$in</span><span class="p">);</span>
<span class="w">            </span><span class="nv">$body</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="s">&quot;  &quot;</span><span class="w"> </span><span class="o">.</span><span class="nv">$meth</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="s">&quot;;\n\n&quot;</span><span class="p">;</span>
<span class="w">         </span><span class="p">}</span>
<span class="w">         </span><span class="nv">$com</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">;</span>
<span class="w">         </span><span class="nv">$meth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">;</span>
<span class="w">         </span><span class="nv">$inmeth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span>
<span class="w">      </span><span class="p">}</span>
<span class="w">      </span><span class="nv">$com</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="s">&quot;  &quot;</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="nv">$_</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$in</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$in</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="sr">/^\s+\*\/\s*$/</span><span class="p">);</span>
<span class="w">   </span><span class="p">}</span>
<span class="w">   </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$inclass</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">      </span><span class="k">my</span><span class="w"> </span><span class="nv">$l</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$_</span><span class="p">;</span>
<span class="w">      </span><span class="nv">$a</span><span class="w"> </span><span class="o">++</span><span class="w"> </span><span class="k">while</span><span class="p">(</span><span class="nv">$l</span><span class="w"> </span><span class="o">=~</span><span class="sr"> /(\{)/g</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$b</span><span class="w"> </span><span class="o">++</span><span class="w"> </span><span class="k">while</span><span class="p">(</span><span class="nv">$l</span><span class="w"> </span><span class="o">=~</span><span class="sr"> /(\})/g</span><span class="p">);</span>
<span class="w">      </span><span class="nv">$inclass</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$a</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">$b</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$a</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="nv">$b</span><span class="p">);</span>
<span class="w">   </span><span class="p">}</span>
<span class="w">   </span><span class="nv">$ingq</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nv">$ingq</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="sr">m/(^|\s+)class /</span><span class="p">);</span>
<span class="w">   </span><span class="c1">#$body .= &quot;$c $ingq $inclass $a $b\n&quot;;</span>
<span class="w">   </span><span class="nv">$c</span><span class="w"> </span><span class="o">++</span><span class="p">;</span>
<span class="p">}</span>
<span class="nb">close</span><span class="p">(</span><span class="n">F</span><span class="p">);</span>

<span class="k">my</span><span class="w"> </span><span class="nv">$class</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;public interface $oclass&quot;</span><span class="p">;</span>
<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$lazy</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w">  </span><span class="nv">$class</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="s">&quot;&lt;T&gt; extends LazyBase&lt;T&gt;&quot;</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nv">$lazy</span><span class="p">);</span>
<span class="w">  </span><span class="nv">$head</span><span class="w"> </span><span class="o">.=</span><span class="w"> </span><span class="s">&quot;import com.google.gwt.query.client.LazyBase;\n\n&quot;</span><span class="p">;</span>
<span class="p">}</span>

<span class="nb">open</span><span class="p">(</span><span class="n">F</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&gt;$o&quot;</span><span class="p">)</span><span class="w"> </span><span class="o">||</span><span class="w"> </span><span class="nb">die</span><span class="w"> </span><span class="vg">$!</span><span class="p">;</span>
<span class="k">print</span><span class="w"> </span><span class="n">F</span><span class="w"> </span><span class="nv">$head</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="nv">$class</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="s">&quot;{\n\n&quot;</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="nv">$body</span><span class="w"> </span><span class="o">.</span><span class="w"> </span><span class="s">&quot;}\n&quot;</span><span class="p">;</span>
<span class="nb">close</span><span class="p">(</span><span class="n">F</span><span class="p">);</span>
</pre></div>
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit v1.2.3</a> (<a href='https://git-scm.com/'>git 2.39.1</a>) at 2025-01-18 16:47:20 +0000</div>
</div> <!-- id=cgit -->
</body>
</html>
