Resolve generic JavaFX binding targets and verify them in IntelliJ

This commit is contained in:
2026-11-24 23:03:31 +01:00
parent 2d5e6be4b1
commit c980d0c6f5
10 changed files with 585 additions and 61 deletions
@@ -222,7 +222,7 @@ final class RepeatDiscovery {
if (!Property.class.isAssignableFrom(accessor.getReturnType())
|| !ControllerMetadata.accessible(accessor.getDeclaringClass(), true))
throw new IllegalArgumentException("Component needs an accessible writable modelProperty");
Class<?> property = BindingDiscovery.propertyType(accessor.getGenericReturnType(), Map.of());
Class<?> property = GenericPropertyType.of(type, accessor, Map.of()).value();
Document doc = resource(type);
Element root = doc.getDocumentElement();
if (!"http://javafx.com/fxml/1".equals(root.getNamespaceURI())