#'jfield

Arguments: class-ref-or-field field-or-instance &optional instance value

This function retrieves or modifies a field in a Java class or instance.

The valid argument patterns for this operation are:

See jlinker.htm for more information.
.
 

 
On Tue, Feb 9, 2010 at 7:15 PM, Blake McBride <blake@mcbride.name> wrote:
Greetings,

I know how to gain access to and execute Java methods via jmethod and jcall, however, I don't know how to get and set instance and static fields (or variables) within a Java class.  Any help would be greatly appreciated.

BTW, I've now got a Lisp macro that maps all the methods in a Java class into a corresponding CLOS class.

Thanks.

Blake McBride


_______________________________________________
armedbear-devel mailing list
armedbear-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel