Thomas E Enebo created JRUBY-6445: ------------------------------------- Summary: Allow a way to resolve interface methods from with Ruby proxy modules Key: JRUBY-6445 URL: https://jira.codehaus.org/browse/JRUBY-6445 Project: JRuby Issue Type: Improvement Components: Java Integration Affects Versions: JRuby 1.6.6 Reporter: Thomas E Enebo
I am working on a library which uses mostly interfaces. It would be really nice if java_alias (and the others) could resolve signatures of the interface, so I can: {noformat} module org::bukkit::Entity java_alias :teleport_java, :teleport, [org.bukkit.Location] def teleport(loc) teleport_java coerce_location(loc) end end {noformat} Unfortunately, java_alias only seems to work for classes. Bonus points for whoever takes this up...Remove some truly ancient method java_alias used for a completely different purpose than the java_alias we document in our book in core_ext/module :) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email