Resolve generic JavaFX binding targets and verify them in IntelliJ
This commit is contained in:
@@ -26,6 +26,8 @@ Discovery owns a separate workflow so it does not replace the canvas or interact
|
||||
|
||||
FXML parsing disables external entities and DOCTYPE. Inputs, scene-node counts, path expansion, target counts and protocol payloads are bounded. Ambiguous imports, duplicate IDs, missing classes, invalid XML and absent declarations produce diagnostics. Attached-property binding discovery, open child-draft metadata overlays, broader custom metadata and complete collection compatibility remain later extensions, not silently inferred support.
|
||||
|
||||
A field matching the FXML ID can supply generic arguments that are erased in the FXML element. For example, declaring `@FXML private ComboBox<String> security` on the controller types both `security.value` and the elements of `security.items`. The worker follows inherited controller fields, control superclasses and JavaFX property interfaces using compiled signatures. An invariant observable-list binding toward the view requires matching element types. Incompatible list elements and unrelated scalar destinations receive a diagnostic. Wildcards and raw selectors retain an unresolved result until the project provides a concrete type.
|
||||
|
||||
## Qualification
|
||||
|
||||
Tests cover non-initializing signature discovery, nested and collection metadata, direction-dependent assignability, read-only targets, incompatible targets, secure parsing, metadata codec bounds and capability negotiation. Real classpath/module-path Person fixtures check Component Model compatibility and absence of Model, Controller and provider construction/initialization. Connected contracts test the worker protocol in both document adapters; live shared Kit checks use the same browser in standalone and the registered IntelliJ editor and verify source preservation.
|
||||
|
||||
Reference in New Issue
Block a user