|
28 | 28 | "items": {
|
29 | 29 | "title": "Elements that should be registered for reflection for a specified type",
|
30 | 30 | "type": "object",
|
| 31 | + "required": ["type"], |
31 | 32 | "properties": {
|
32 | 33 | "reason": {
|
33 | 34 | "$ref": "#/$defs/reason"
|
|
227 | 228 | }
|
228 | 229 | },
|
229 | 230 | "additionalProperties": false,
|
| 231 | + "required": ["returnType", "parameterTypes"], |
230 | 232 | "type": "object",
|
231 | 233 | "title": "Function descriptor to be registered for a downcall"
|
232 | 234 | },
|
|
265 | 267 | }
|
266 | 268 | },
|
267 | 269 | "additionalProperties": false,
|
| 270 | + "required": ["returnType", "parameterTypes"], |
268 | 271 | "type": "object",
|
269 | 272 | "title": "Function descriptor to be registered for an upcall"
|
270 | 273 | },
|
|
300 | 303 | "title": "Memory layout definition (allows canonical layouts; see `java.lang.foreign.Linker`)"
|
301 | 304 | },
|
302 | 305 | "type": "array",
|
303 |
| - "title": "List of the function descriptor's parameter types " |
| 306 | + "title": "List of the function descriptor's parameter types" |
304 | 307 | },
|
305 | 308 | "options": {
|
306 | 309 | "type": "object",
|
|
311 | 314 | }
|
312 | 315 | },
|
313 | 316 | "additionalProperties": false,
|
| 317 | + "required": ["class", "method", "returnType", "parameterTypes"], |
314 | 318 | "type": "object",
|
315 | 319 | "title": "Java method and function descriptor to be registered for a direct upcall"
|
316 | 320 | },
|
|
393 | 397 | },
|
394 | 398 | "declaringMethod": {
|
395 | 399 | "title": "The method in which the lambda class is defined",
|
396 |
| - "$ref": "#/$defs/method", |
397 |
| - "default": {} |
| 400 | + "$ref": "#/$defs/method" |
398 | 401 | },
|
399 | 402 | "interfaces": {
|
400 | 403 | "title": "Non-empty list of interfaces implemented by the lambda class",
|
401 | 404 | "type": "array",
|
402 | 405 | "items": {
|
403 | 406 | "title": "Fully-qualified name of the interface implemented by the lambda class",
|
404 |
| - "type": "string", |
405 | 407 | "$ref": "#/$defs/className"
|
406 | 408 | },
|
407 | 409 | "minItems": 1
|
|
0 commit comments