Spring bean inspection

Answered

Hi
I would like to find a way to find classes that have spring annotation like @Component or @Service but no @Autowired fields or constructors in them. Is there an inspection available for this? We are doing a massive refactoring and this utility will be extremely helpful

6 comments
Comment actions Permalink

Hi Balasenthil - I will check if it is possible and let you know.

0
Comment actions Permalink

Hi

Any updates on this ?

0
Comment actions Permalink
There is no such inspection in place at the moment.
I added your proposition to the list in https://youtrack.jetbrains.com/issue/IDEA-215530 (privately). Feel free to upvote the issue.
0
Comment actions Permalink

I am not able to see where you added my issue. Could you pl point to right section / sentence that has this feature covered.

0
Comment actions Permalink
The comment's visibility was reduced to JB team only. I made it public: https://youtrack.jetbrains.com/issue/IDEA-215530#focus=Comments-27-6648318.0-0
0

Please sign in to leave a comment.