Changes between Version 6 and Version 7 of JavaFfi
- Timestamp:
- 11/18/10 14:38:05 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JavaFfi
v6 v7 11 11 === Definitions === 12 12 13 * ''Java object'': within ABCL, a Java object is an object of type JAVA-OBJECT. From the Java point of view, it is an instance of the class !JavaObject wrapping a native Java object. In this page, the expressions "an instance of the (Java) class X" or "an object of (Java) class X" should be read as "a JAVA-OBJECT wrapping an instance of/an object of...". Java objects are understood by DESCRIBE and INSPECT. 13 14 * ''Java class designator'': either a string denoting the fully qualified name of a Java class, such as "java.lang.String", or a Java class metaobject, that is, an instance of java.lang.Class, for example as returned by the function `jclass`. 14 15 * ''Java method designator'': in the context of Java method invocations, either a Java method metaobject (an instance of java.lang.reflect.Method), or a string representing the name of the method, for example "toString". … … 21 22 '''jcall''' ''method instance &rest args => object'' 22 23 23 '''jcall-raw''' ''method instance &rest args => aJAVA-OBJECT''24 '''jcall-raw''' ''method instance &rest args => JAVA-OBJECT'' 24 25 25 26 '''Arguments and Values:''' … … 36 37 37 38 `jcall` translates the result to a Lisp object if possible. `jcall-raw` performs no translation and always returns the original Java object. 39 40 Note: `jcall` and other primitives that perform automatic method resolution are only capable of finding accessible (i.e., in general, public) methods. 38 41 39 42 '''Examples:''' … … 111 114 `name-or-class-ref` -- a Java class designator (see [#Definitions Definitions]). 112 115 113 `class-loader` -- the classloader to use to resolve the class. Refer to the section Class resolution and loading.114 115 '''Description:''' 116 117 Returns a reference to the Java class designated by `name-or-class-ref`. If the `class-loader` parameter is passed, the class is resolved with respect to the given ClassLoader.116 `class-loader` -- the classloader to use to resolve the class. Refer to the section [#Classresolutionandloading Class resolution and loading]. 117 118 '''Description:''' 119 120 Returns a reference to the Java class designated by `name-or-class-ref`. If the `class-loader` parameter is passed, the class is resolved with respect to the given !ClassLoader. 118 121 119 122 '''Examples:'''