| So it's really in weird cases but sometimes PrimitiveType#toString() can return @Annotation long for instance instead of long. We shouldn't rely on the toString() but on the getKind() at least for primitive types where it's feasible. The bottom of it is that we have weird failures when using BV annotations together with primitive types when upgrading to BV 2.0 and HV 6.0. The issue are with the Address#id attribute and with the DisplayConnector#number attribute. To debug the issue, it's useful to uncomment the if fqcn == null line in ImportContextImpl. |