Resolve generic JavaFX binding targets and verify them in IntelliJ
This commit is contained in:
+1
-1
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user