<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Javassist and Annotations for Interfacing Java to CAL</title>
	<atom:link href="http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/feed/" rel="self" type="application/rss+xml" />
	<link>http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/</link>
	<description>Notes on things I'm thinking and doing</description>
	<pubDate>Wed, 07 Jan 2009 20:37:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Utiniabitrace</title>
		<link>http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/comment-page-5/#comment-9249</link>
		<dc:creator>Utiniabitrace</dc:creator>
		<pubDate>Wed, 07 Jan 2009 12:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/#comment-9249</guid>
		<description>&lt;p&gt;What is bumburbia?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What is bumburbia?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Davies</title>
		<link>http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/comment-page-1/#comment-16</link>
		<dc:creator>Tom Davies</dc:creator>
		<pubDate>Tue, 25 Sep 2007 03:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/#comment-16</guid>
		<description>&lt;p&gt;Good point -- if the class is abstract it must be instantiated reflectively, which works when you use a class as a Tapestry page, but not in the example I gave -- that would require a concrete class with a dummy body.&lt;/p&gt;

&lt;p&gt;Here's an example of specifying an output policy:&lt;/p&gt;

&lt;p&gt;@Cal(outputPolicy=ITERATOR)
protected abstract Iterator&lt;Integer&gt; randomList();&lt;/p&gt;

&lt;p&gt;Policy annotations could also be put on fields, to apply when they are passed to/returned from functions, and on parameters, but I haven't done that yet.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good point &#8212; if the class is abstract it must be instantiated reflectively, which works when you use a class as a Tapestry page, but not in the example I gave &#8212; that would require a concrete class with a dummy body.</p>

<p>Here&#8217;s an example of specifying an output policy:</p>

<p>@Cal(outputPolicy=ITERATOR)
protected abstract Iterator<integer> randomList();</integer></p>

<p>Policy annotations could also be put on fields, to apply when they are passed to/returned from functions, and on parameters, but I haven&#8217;t done that yet.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/comment-page-1/#comment-15</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 24 Sep 2007 23:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://diversions.nfshost.com/blog/2007/09/23/javassist-and-annotations-for-interfacing-java-to-cal/#comment-15</guid>
		<description>&lt;p&gt;As I mentioned before, this is very cool.  I like how it is possible to have multiple return values.&lt;/p&gt;

&lt;p&gt;One thing that I noticed, though, is that CALWordCounter.addWord is abstract.  How is this class instantiated?&lt;/p&gt;

&lt;p&gt;Also, how are input and output policies used?  It seems like it wouldn't be too hard to specify them as fields in the annotation.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>As I mentioned before, this is very cool.  I like how it is possible to have multiple return values.</p>

<p>One thing that I noticed, though, is that CALWordCounter.addWord is abstract.  How is this class instantiated?</p>

<p>Also, how are input and output policies used?  It seems like it wouldn&#8217;t be too hard to specify them as fields in the annotation.</p>]]></content:encoded>
	</item>
</channel>
</rss>
