Actually (2) is probably not correct in the above, it should come between (3) and (4)
It doesn't actually exist for properties
(except as a hack/short hand for string value properties - not relevant here)
and actually defines which constructor/method to use for parameters
so it would always override the preinstantiated which isn't what is wanted
and sometimes it will just represent an interface anyway (because that is the parameter
type).
So, the correct order should be:
1) AbstractTypeMetaData.getClassInfo(ClassInfo);
2) preinstantiated
3) TypeInfo in getValue() parameters
4) Default collection type
But can still stop the getter being used by adding a class= to the list element.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060442#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...