I thought this should be obvious but I can't find it.
Now that fields can have annotations, I thought this should be reflected in the JavaBean spec, but I can't find it.
What I mean:
JavaBean is a specification that allows you to treat objects in an uniform way by discovering their properties, and then reading and writing them.
As POJOs properties can now be annotated (as in Hibernate annotations for example), I expected annotations to be accessible using the JavaBean specification - in order to discover more metadata than just the type of the property.
Or must I resort to the trick of getting the getter method and find the metadata using plain reflection API?