Java annotations

Hello I am new to jruby, but I ran already into a problem, I am
searching for a way to use java annotations in a way that jrubyc
generates the annotations for the generated java class ala

java_annoation ‘@WhatEverTheAnnotationIs
class MyClass
end

which then should result in a java class
@WhatEverTheAnnotationIs
class MyClass {
… ruby bindings here
}

Is ther a way to do it I cannot find any references on the net.

Kind regards

Werner Punz

this article might help you, xshay uses it

http://rhnh.net/2012/10/20/guice-in-your-jruby

On Oct 22, 2012, at 7:53 AM, Werner Punz wrote:

}

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

– qmx

Also, “Using JRuby” is an excellent book, and has some coverage of
annotations:

http://pragprog.com/book/jruby/using-jruby

I like having the ebook handy on my system so I can consult it when I
have questions.

  • Keith

Keith R. Bennett
http://about.me/keithrbennett

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs