最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - How to find annotations through JDI? - Stack Overflow

programmeradmin0浏览0评论

I have to inspect the heap of 2 different running java apps and I need to find instances with a certain annotation. Using JDI I can connect to the host JVM, I can access all the loaded classes and interfaces and I can see the annotations among the loaded classes (as interfaces). But I cannot determine which classes are annotated. If I add a normal interface, it appears as implemented in the mirrored class objects but and not the annotations. Hoping for help here!

发布评论

评论列表(0)

  1. 暂无评论