Doesn't that return the annotations on the class itself, not its members? In other words, isn't
annotations.size == 1
?
annotations.size == 1
?