Intellij: Search through the source of maven dependencies in a project
If I understand your requirement correctly, what you are trying to do is possible.
First in the Maven pane you need right click on dependencies and select 'Download Sources'.
Once that is done, follow Ashutosh Jindal instructions to search in your code and the dependencies code.
I found how to do this !
Use the 'Project and Libraries' Custom Scope.
in IntelliJ IDEA 2018, you can do this: ctrl+shift+f
thanks @Ashutosh Jindal