Inspecting libraries' code, BaseJavaLocalInspectionTool doesn't work

I was trying to give advice to the user on the current class he's viewing with BaseJavaLocalInspectionTool, but it works only on the project's classes, and not on the files inside libraries.

When I include the libs, I include even the source code (no need to decompile), but my buildVisitor inside BaseJavaLocalInspectionTool is not called.

Any suggestion on how to perform it?

 

0
2 comments
Official comment

Library code is not analysed by design. It makes little sense to provide warnings on code that is not strictly part of the project and can/should not be changed. Or do you have a good reason?

Bas

Avatar
Permanently deleted user

In the end, I'd like to add hints needed for the development of the main application after a code analysis.

 

0

Please sign in to leave a comment.