Can constructors be validated by JAX-RS as well? If so, you'd have to check for `ElementKind.CONSTRUCTOR` as well.