You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to write a byte-buddy plugin to weave in Jakarta Validation into my classes at build time.
The standard and recommended way to find out whether a class contains validation constraints starts with: Validation.buildDefaultValidatorFactory().getValidator().getConstraintsForClass(Class)
But the plugin only provides a TypeDescription, from which it appears there is no way to obtain the Class.
Can I achieve what I need?