contribute ImplicitUsageProvider

i have components that are created by framework and injected by reflection. It is something similar to code generated by swing gui designer. I don't want to use @Inect or other annotation for each component and want to have inspection warningn only if component is not used (similar behaviour to code created by swing gui designer)
Can I write plugin where add my own implementation of com.intellij.codeInsight.daemon.ImplicitUsageProvider ?

---
Original message URL: http://devnet.jetbrains.net/message/5470533#5470533

1 comment
Comment actions Permalink

Ricardo,

yes, this is the right approach. Simply implement com.intellij.codeInsight.daemon.ImplicitUsageProvider#isImplicitUsage to achieve this behaviour.

- Yann

0

Please sign in to leave a comment.