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?
Please sign in to leave a 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
In the end, I'd like to add hints needed for the development of the main application after a code analysis.