Uhm, I have to think about this a little bit more. It will only get the first type and ignore all others. I agree that it's dangerous that a user annotate two class and doesn't realise that the wrong one is behing used.