jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-2298

We should generate method binding code with APT

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.1.4
  • Component/s: Core Classes/Modules
  • Labels:
    None

Description

We should have an APT tool that can generate method wiring code based on the JRubyMethod annotation - this will allow us all the benefits of the annotation based processing, without doing lots of reflection at runtime.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ola Bini added a comment - 20/Mar/08 6:16 AM

Looking at the IronRuby presentation from RubyConf it's obvious that IronRuby uses this approach for everything - it doesn't seem to do any runtime introspection on annotations, instead having a "rake gen" command that generates stuff.

Show
Ola Bini added a comment - 20/Mar/08 6:16 AM Looking at the IronRuby presentation from RubyConf it's obvious that IronRuby uses this approach for everything - it doesn't seem to do any runtime introspection on annotations, instead having a "rake gen" command that generates stuff.
Hide
Permalink
Charles Oliver Nutter added a comment - 04/Feb/09 3:56 AM

I believe this was resolved in 1.1.4, when I created a "Populator" interface and a piece of generation code that runs at build time. The Populators are hard-coded to load the annotation classes directly, rather than generating them at runtime or using reflection to load them.

Show
Charles Oliver Nutter added a comment - 04/Feb/09 3:56 AM I believe this was resolved in 1.1.4, when I created a "Populator" interface and a piece of generation code that runs at build time. The Populators are hard-coded to load the annotation classes directly, rather than generating them at runtime or using reflection to load them.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Ola Bini
Vote (0)
Watch (1)

Dates

  • Created:
    19/Mar/08 12:18 PM
    Updated:
    21/Mar/09 1:14 PM
    Resolved:
    04/Feb/09 3:56 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.