Changeset 13661 for branches/1.0.x/abcl/doc/manual/abcl.tex
- Timestamp:
- 10/21/11 21:37:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0.x/abcl/doc/manual/abcl.tex
r13659 r13661 353 353 The constructor can't be passed to \code{JAVA:JCALL}, but instead should 354 354 be passed as an argument to \code{JAVA:JNEW}. 355 356 \subsubsection{Accessing Java object fields} 357 358 Fields in Java objects can be accessed using the getter and setter functions 359 \code{JAVA:GETFIELD} and \code{JAVA:PUTFIELD}. This applies to values stored in object 360 instances. If you want to access static fields: see the next section. 361 362 Like \code{JAVA:JCALL} and friends, values returned from these accessors carry 363 an intended class around and values which can be converted to Lisp values will 364 be converted. 365 366 \subsubsection{Accessing Java static fields} 367 368 Static fields in Java objects (class fields) can be accessed using the getter 369 and setter functions \code{JAVA:GETSTATIC} and \code{JAVA:PUTSTATIC}. Values 370 stored in object instance fields can be accessed as described in the previous 371 section. 372 373 Like \code{JAVA:JCALL} and friends, values returned from these accessors carry 374 an intended class around and values which can be converted to Lisp values will 375 be converted. 355 376 356 377 \section{Lisp from Java}
Note: See TracChangeset
for help on using the changeset viewer.