WINDUP-168: Handlers applied to the superclass'es method even if subtype...

https://issues.jboss.org/browse/WINDUP-168
I think that the test needs to extend for custom annotations.
The main issue here was that frames don't use the correct annotation instance.
See the jira.
This PR could fix that too.