Changes between Version 6 and Version 7 of JavaFfi


Ignore:
Timestamp:
11/18/10 14:38:05 (11 years ago)
Author:
astalla
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JavaFfi

    v6 v7  
    1111=== Definitions ===
    1212
     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.
    1314  * ''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`.
    1415  * ''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".
     
    2122'''jcall''' ''method instance &rest args => object''
    2223
    23 '''jcall-raw''' ''method instance &rest args => a JAVA-OBJECT''
     24'''jcall-raw''' ''method instance &rest args => JAVA-OBJECT''
    2425
    2526'''Arguments and Values:'''
     
    3637
    3738`jcall` translates the result to a Lisp object if possible. `jcall-raw` performs no translation and always returns the original Java object.
     39
     40Note: `jcall` and other primitives that perform automatic method resolution are only capable of finding accessible (i.e., in general, public) methods.
    3841
    3942'''Examples:'''
     
    111114`name-or-class-ref` -- a Java class designator (see [#Definitions Definitions]).
    112115
    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
     120Returns 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.
    118121
    119122'''Examples:'''