diagnose invalid stub-based PsiAnchor (IDEA-100526, IDEA-100962)
external build: when choosing JDK to be used for build process, consider all sdk that implement JavaSdkType instead of JavaSdk
correct cache control