-
I am using Byte Buddy in a slightly unusual way here in that I am reading classes and annotations, but not (necessarily) writing stuff. Anyway, the situation I have run into is a problem with nested annotations, both singly and arrays. An example... Consider this model:
When I get references to The first case I happened upon was Is there some supported way to accomplish this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The underlying implementation is a detail as a description might be a reflection representation, or anything really. There is no guarantee to return these values. Why do you need those? You can get hold of the properties via getDeclaredMethods. Would those not suffice to get hold of all values? |
Beta Was this translation helpful? Give feedback.
-
Brilliant! Thanks for the feedback. Glad you found a way. Without reflection? |
Beta Was this translation helpful? Give feedback.
The underlying implementation is a detail as a description might be a reflection representation, or anything really. There is no guarantee to return these values.
Why do you need those? You can get hold of the properties via getDeclaredMethods. Would those not suffice to get hold of all values?