Minor  refactoring
It seems "clearUserData" doesn't what I expected. Changed how scoping PSI elements check whether they are up to date.
Plugin built to fix the wrong updating of local variables. #MMAP-36 Fixed
Merge branch 'develop' into bugfix_36