|
282 | 282 | "$ref": "#/$defs/condition"
|
283 | 283 | },
|
284 | 284 | "class": {
|
285 |
| - "type": "string", |
| 285 | + "$ref": "#/$defs/className", |
286 | 286 | "title": "Fully-qualified class name (e.g., `org.package.OuterClass$InnerClass`)"
|
287 | 287 | },
|
288 | 288 | "method": {
|
|
328 | 328 | "additionalProperties": false,
|
329 | 329 |
|
330 | 330 | "$defs": {
|
| 331 | + "className": { |
| 332 | + "type": "string", |
| 333 | + "pattern": "^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$" |
| 334 | + }, |
| 335 | + "typeName": { |
| 336 | + "type": "string", |
| 337 | + "pattern": "^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*(\\[\\])*$" |
| 338 | + }, |
331 | 339 | "reason": {
|
332 | 340 | "title": "A reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)",
|
333 | 341 | "oneOf": [
|
|
361 | 369 | "title": "Type descriptors used by GraalVM Native Image metadata files",
|
362 | 370 | "oneOf": [
|
363 | 371 | {
|
364 |
| - "type": "string", |
365 |
| - "pattern": "^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*(\\[\\])*$" |
| 372 | + "$ref": "#/$defs/typeName" |
366 | 373 | },
|
367 | 374 | {
|
368 | 375 | "type": "object",
|
|
373 | 380 | "default": [],
|
374 | 381 | "items": {
|
375 | 382 | "title": "Fully-qualified name of the interface defining the proxy class",
|
376 |
| - "type": "string", |
377 |
| - "pattern": "^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*(\\[\\])*$" |
| 383 | + "$ref": "#/$defs/className" |
378 | 384 | }
|
379 | 385 | },
|
380 | 386 | "lambda": {
|
|
383 | 389 | "properties": {
|
384 | 390 | "declaringClass": {
|
385 | 391 | "title": "The class in which the lambda class is defined",
|
386 |
| - "$ref": "#/$defs/type" |
| 392 | + "$ref": "#/$defs/className" |
387 | 393 | },
|
388 | 394 | "declaringMethod": {
|
389 | 395 | "title": "The method in which the lambda class is defined",
|
|
395 | 401 | "type": "array",
|
396 | 402 | "items": {
|
397 | 403 | "title": "Fully-qualified name of the interface implemented by the lambda class",
|
398 |
| - "type": "string" |
| 404 | + "type": "string", |
| 405 | + "$ref": "#/$defs/className" |
399 | 406 | },
|
400 | 407 | "minItems": 1
|
401 | 408 | }
|
|
435 | 442 | "default": [],
|
436 | 443 | "items": {
|
437 | 444 | "title": "List of the method's parameter types",
|
438 |
| - "type": "string" |
| 445 | + "$ref": "#/$defs/typeName" |
439 | 446 | },
|
440 | 447 | "type": "array"
|
441 | 448 | }
|
|
0 commit comments