Are there any conceivable JRuby apps that would want to deal with
parameter names instead of parameter types? Some terse Rails-like
script that touches Java instance methods pretty directly (or throws
a no such method error)? I'm imagining something running on top of a
hibernate/iBatis object model.
Seems like it could be do-able. If you don't strip the parameter names when you compile the Java code, they're available in the class files. You'd have to separately parse the class files to discover them, though since they're not exposed in the reflection API. It could be a little expensive to parse whole class files for small scripts that make use of named parameters.
/Nick
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel