Hi, I'm using Inline::Java. I was wondering if there is anywhere on the Perl side of things in which I can learn what Java method declarations occurred in the Java section. That is, I want to learn the names and parameters of the Java methods, at runtime.
For example if I have the code below, I'd like to somehow from the Perl side get a structure like: tickPrice => [qw/tickerId field price canAutoExecute/] back (obviously any structured return would be cool). Currently I'm doing a kluge of reading the source file (that's currently running), and parsing the Java, into what I need. It works, but its a bug waiting to happen (IMO). thanks Jay __Java__ import org.perl.inline.java.*; import com.ib.client.*; class Inline_Bridge extends InlineJavaPerlCaller implements EWrapper { InlineJavaPerlObject perlobj; public Inline_Bridge(InlineJavaPerlObject PerlObj) throws InlineJavaException { perlobj = PerlObj; } public void tickPrice(int tickerId, int field, double price, int canAutoExecute) { try { perlobj.InvokeMethod("tickPrice", new Object [] { tickerId, field, price, canAutoExecute }); } catch (InlineJavaPerlException pe){ } catch (InlineJavaException pe) { pe.printStackTrace() ;} } ...