This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
$ cat test/MyActionListener.scm (module-compile-options warn-undefined-variable: #t warn-invoke-unknown-method: #t) (module-static #f) (module-implements java.awt.event.ActionListener) (module-export action-performed)
(define (action-performed (e :: java.awt.event.ActionEvent))
(display e) (newline))
$ java -cp ../kawa-1.10.jar:. kawa.repl -C test/MyActionListener.scm
(compiling test/MyActionListener.scm to test.MyActionListener)
$ javap test.MyActionListener
Compiled from "MyActionListener.scm"
public class test.MyActionListener extends gnu.expr.ModuleBody implements java.lang.Runnable{
public final gnu.expr.ModuleMethod action$Mnperformed;
static final gnu.mapping.SimpleSymbol Lit0;
public test.MyActionListener();
public void actionPerformed(java.awt.event.ActionEvent);
public final void run(gnu.mapping.CallContext);
public static {};
public int match1(gnu.expr.ModuleMethod, java.lang.Object, gnu.mapping.CallContext);
public java.lang.Object apply1(gnu.expr.ModuleMethod, java.lang.Object);
}
$ javap test.MyActionListener
Compiled from "MyActionListener.scm"
public class test.MyActionListener extends gnu.expr.ModuleBody implements java.lang.Runnable{
public static gnu.expr.ModuleMethod action$Mnperformed;
static final gnu.mapping.SimpleSymbol Lit0;
public test.MyActionListener();
public static void actionPerformed(java.awt.event.ActionEvent);
public final void run(gnu.mapping.CallContext);
public static {};
public int match1(gnu.expr.ModuleMethod, java.lang.Object, gnu.mapping.CallContext);
public java.lang.Object apply1(gnu.expr.ModuleMethod, java.lang.Object);
}
Thanks, Jamie
-- Jamison Hope The PTR Group www.theptrgroup.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |