Ignore:
Timestamp:
09/30/11 14:18:04 (12 years ago)
Author:
Mark Evenson
Message:

Fill in some missing docstrings from JAVA package.

Unfortunately, we have to use static initializers and retain the '###'
marker for documenting package variables as we don't seem to be able
to use the @DocString? annotation as the JVM reflection APIs only seem
to require that we know the Java class that a field is part of in
order to look up runtime annotations. If this understanding is
faulty, please let me know otherwise how to do it.

The :DOCUMENTATION option for the DEFGENERIC is apparently not
working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/java.lisp

    r13393 r13608  
    4444    (add-url-to-classpath url)))
    4545
    46 (defgeneric add-to-classpath (jar-or-jars &optional classloader))
     46(defgeneric add-to-classpath (jar-or-jars &optional classloader)
     47  (:documentation "Add JAR-OR-JARS to the JVM classpath optionally specifying the CLASSLOADER to add.
     48
     49JAR-OR-JARS is either a pathname designating a jar archive or the root
     50directory to search for classes or a list of such values."))
    4751
    4852(defmethod add-to-classpath (jar-or-jars &optional (classloader (get-current-classloader)))
Note: See TracChangeset for help on using the changeset viewer.