<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/groovy-mda/patches/" rel="alternate"/><link href="https://sourceforge.net/p/groovy-mda/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/groovy-mda/patches/</id><updated>2007-09-13T07:48:39Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>get classes by stereotype</title><link href="https://sourceforge.net/p/groovy-mda/patches/1/" rel="alternate"/><published>2007-09-13T07:48:39Z</published><updated>2007-09-13T07:48:39Z</updated><author><name>Chanwit Kaewkasi</name><uri>https://sourceforge.net/u/kaewkasi/</uri></author><id>https://sourceforge.net85fca715fcea48ce189404804f014246cbdd8253</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a patch for GroovyModelProcessor to get classes by stereotype.&lt;/p&gt;
&lt;p&gt;def getClassesByStereotype = { model, stereotype -&amp;gt;&lt;br /&gt;
return getAllClasses(model).findAll { elem -&amp;gt;&lt;br /&gt;
elem.stereotype.any{ s -&amp;gt; s.name == stereotype}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Tested with 1.1 snapshot.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>