IntelliJ IDEA 10.5.1 is reporting zero usages for all method, classes etc.
Can I force IntelliJ to rebuild the pro开发者_JAVA百科ject indexes?
File -> Invalidate caches...
(Force rebuild of all caches and indices on next startup)
Restart IntelliJ IDEA.
Caution: This might Remove local history.
Restarting IntelliJ fixed this in my case (Ultimate 2019.1) -- on restarting, it rebuild the indexes by itself.
An interesting side effect, apart from all imports and non-local references coming up as errors, was the error reported on all string literals:
Incompatible types. 
Required: java.lang.String 
Found: java.lang.String
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论