java-classmate icon indicating copy to clipboard operation
java-classmate copied to clipboard

Complete annotation support by exposing class annotations (not just method, field, ctor)

Open cowtowncoder opened this issue 15 years ago • 4 comments

Current version handles method, field and constructor annotations, but not yet basic class annotations; should expose them too.

cowtowncoder avatar Nov 30 '10 16:11 cowtowncoder

After 7 years... still no class annotations support?

smthpickboy avatar Oct 13 '17 12:10 smthpickboy

@smthpickboy Are you familiar with how OSS works?

cowtowncoder avatar Oct 13 '17 19:10 cowtowncoder

I think it's a common need to introspect class annotations, so I feel a little surprised this feature is left unsupported for such a long time.

I'm using springfox to generate docs and it uses classmate to resolve type/annotations etc. It would be helpful for writing springfox plugins if classmate is able to resolve class annotations. I'm not familiar with handling metadata in Java so I can't help implement this in classmate. I guess I'll just find a workaround for the time being.

Anyway, thanks for you work.

smthpickboy avatar Oct 14 '17 03:10 smthpickboy

What I meant is that typically people with a need ("itch") step up to add functionality that is missing. I do not mean that such functionality would not be useful, just that no one with itch and knowledge has stepped up so far (including myself).

cowtowncoder avatar Oct 25 '17 00:10 cowtowncoder