Details
Description
I suspect its like we had on generate configurer
https://github.com/apache/camel/blob/ac9c191c01340e89b7f6e01e9a25d0af16247f81/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java#L331
Where a option that is of type long, may have 2 setters one for Long and another for String. And then depending on the JDK compiler you may get a setter by random order.
So we should select the actual type via the field as done above