That's the only way I've seen it done.

Cool source box; how did you get it?

On Friday, June 1, 2012 11:42:19 AM UTC-7, Jon Rose wrote:
>
> sorry, typo. My bluetooth keyboard is geeking out. I meant, is it possible 
> to do this with out using the Jave Reflection classes through interop. 
>
> On Friday, June 1, 2012 11:38:17 AM UTC-7, Jon Rose wrote:
>>
>> Hello,
>>
>> I am wondering if anyone knows how to get method annotations from a 
>> method using the clojure.reflect library. I am going of a Stuart Sierra 
>> post<http://stackoverflow.com/questions/5821286/how-can-i-get-the-methods-of-a-java-class-from-clojure>on
>>  Stack Overflow which gave me this
>>
>> user=> (pprint (reflect "hello"))
>> {:bases
>>  #{java.io.Serializable java.lang.Comparable java.lang.Object
>>    java.lang.CharSequence},
>>  :flags #{:public :final},
>>  :members
>>  #{{:name valueOf,
>>     :return-type java.lang.String,
>>     :declaring-class java.lang.String,
>>     :parameter-types [boolean],
>>     :exception-types [],
>>     :flags #{:static :public}}
>>
>>
>> which works great but I am also hoping to grab method comments. Is this 
>> possible with out using interop?
>>
>> thanks
>>
>> jon
>>
>
> On Friday, June 1, 2012 11:38:17 AM UTC-7, Jon Rose wrote:
>>
>> Hello,
>>
>> I am wondering if anyone knows how to get method annotations from a 
>> method using the clojure.reflect library. I going of a Stuart Sierra 
>> post<http://stackoverflow.com/questions/5821286/how-can-i-get-the-methods-of-a-java-class-from-clojure>on
>>  Stack Overflow which game me this
>>
>> user=> (pprint (reflect "hello"))
>> {:bases
>>  #{java.io.Serializable java.lang.Comparable java.lang.Object
>>    java.lang.CharSequence},
>>  :flags #{:public :final},
>>  :members
>>  #{{:name valueOf,
>>     :return-type java.lang.String,
>>     :declaring-class java.lang.String,
>>     :parameter-types [boolean],
>>     :exception-types [],
>>     :flags #{:static :public}}
>>
>>
>> which works great but I am also hoping to grab method comments. Is this 
>> possible with using interop?
>>
>> thanks
>>
>> jon
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to