Changeset 14513
- Timestamp:
- 06/04/13 22:54:47 (10 years ago)
- Location:
- branches/1.2.x
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2.x/contrib/pom.xml
r14270 r14513 14 14 <groupId>org.armedbear.lisp</groupId> 15 15 <artifactId>abcl-contrib</artifactId> 16 <version>1.2.0 -dev</version>16 <version>1.2.0</version> 17 17 <packaging>jar</packaging> 18 18 <name>Armed Bear Common Lisp (ABCL) Contribs</name> -
branches/1.2.x/doc/manual/java.tex
r13866 r14513 225 225 226 226 \begin{adjustwidth}{5em}{5em} 227 Creates and loads a Java class with methods calling Lisp closures 228 as given in METHODS. CLASS-NAME and SUPER-NAME are strings, 229 INTERFACES is a list of strings, CONSTRUCTORS, METHODS and FIELDS are 230 lists of constructor, method and field definitions. 231 232 Constructor definitions - currently NOT supported - are lists of the form 233 (argument-types function \&optional super-invocation-arguments) 234 where argument-types is a list of strings and function is a lisp function of 235 (1+ (length argument-types)) arguments; the instance (`this') is passed in as 236 the last argument. The optional super-invocation-arguments is a list of numbers 237 between 1 and (length argument-types), where the number k stands for the kth argument 238 to the just defined constructor. If present, the constructor of the superclass 239 will be called with the appropriate arguments. E.g., if the constructor definition is 240 (("java.lang.String" "int") \#'(lambda (string i this) ...) (2 1)) 241 then the constructor of the superclass with argument types (int, java.lang.String) will 242 be called with the second and first arguments. 243 244 Method definitions are lists of the form 245 (method-name return-type argument-types function \&key modifiers annotations) 246 where method-name is a string, return-type and argument-types are strings or keywords for 247 primitive types (:void, :int, etc.), and function is a Lisp function of minimum arity 248 (1+ (length argument-types)); the instance (`this') is passed in as the first argument. 227 228 Creates and loads a Java class with methods calling Lisp closures as 229 given in METHODS. CLASS-NAME and SUPER-NAME are strings, INTERFACES 230 is a list of strings, CONSTRUCTORS, METHODS and FIELDS are lists of 231 constructor, method and field definitions. 232 233 Constructor definitions - currently NOT supported - are lists of the 234 form (argument-types function \&optional super-invocation-arguments) 235 where argument-types is a list of strings and function is a lisp 236 function of (1+ (length argument-types)) arguments; the instance 237 (`this') is passed in as the last argument. The optional 238 super-invocation-arguments is a list of numbers between 1 and (length 239 argument-types), where the number k stands for the kth argument to the 240 just defined constructor. If present, the constructor of the 241 superclass will be called with the appropriate arguments. E.g., if the 242 constructor definition is (("java.lang.String" "int") \#'(lambda 243 (string i this) ...) (2 1)) then the constructor of the superclass 244 with argument types (int, java.lang.String) will be called with the 245 second and first arguments. 246 247 Method definitions are lists of the form (method-name return-type 248 argument-types function \&key modifiers annotations) where 249 method-name is a string, return-type and argument-types are strings 250 or keywords for primitive types (:void, :int, etc.), and function 251 is a Lisp function of minimum arity (1+ (length argument-types)); 252 the instance (`this') is passed in as the first argument. 249 253 250 254 Field definitions are lists of the form (field-name type \&key modifiers annotations). -
branches/1.2.x/pom.xml
r14507 r14513 14 14 <groupId>org.armedbear.lisp</groupId> 15 15 <artifactId>abcl</artifactId> 16 <version>1.2.0 -dev</version>16 <version>1.2.0</version> 17 17 <packaging>jar</packaging> 18 18 <name>ABCL - Armed Bear Common Lisp</name>
Note: See TracChangeset
for help on using the changeset viewer.