Re: Annotations and gen-class

2009-08-24 Thread J. McConnell
On Mon, Aug 24, 2009 at 3:00 AM, ngocdaothanh wrote: > > I'm new to Clojure. How can I add @ChannelPipelineCoverage("one") > annotation to a proxy as in? > > http://viewvc.jboss.org/cgi-bin/viewvc.cgi/netty/trunk/src/main/java/org/jboss/netty/example/http/snoop/HttpResponseHandler.java?view=markup

Fwd: Annotations and gen-class

2009-08-24 Thread ngocdaothanh
xy.org.jboss.netty.channel.SimpleChannelUpstreamHandler cannot be cast to clojure.lang.IObj Thanks. -- Forwarded message ------ From: Matt Revelle Date: Mar 25, 1:15 am Subject: Annotations and gen-class To: Clojure On Mar 24, 10:19 am, Sean wrote: > Some working code would make it

Re: Annotations and gen-class

2009-05-14 Thread Richard Newman
A couple of months late to this discussion, but I thought I'd throw in my 2¢: annotations are pretty important for more things than just filling in deficiencies in Java. For example, SIP Servlets 1.1 — finalized in August 2008 — actively discourages the use of deployment descriptor entries in fav

Re: Annotations and gen-class

2009-03-24 Thread Matt Revelle
On Mar 24, 10:19 am, Sean wrote: > Some working code would make it a lot easier to understand *exactly* > what you're looking for. Do you think you could post a few quick > methods on github? No need for gist, this will do as an example: (ns some.namespace (:gen-class :methods [^#{:annota

Re: Annotations and gen-class

2009-03-24 Thread Sean
Some working code would make it a lot easier to understand *exactly* what you're looking for. Do you think you could post a few quick methods on github? If memory serves, the reflections package should be a good place to start. However, you'd need to ask *why* you need this. If the answer is "

Annotations and gen-class

2009-03-24 Thread Matt Revelle
Support for using JVM annotations with Clojure code has come up several times before, I'd like a feature request issue to be created and to start discussing the implementation. It seems that an "annotations" metadata tag could contain all annotations for an object, and any annotations that