// ------------------------------------------------------------------------------------------ // LOCAL CACHES public void clearCaches(boolean clearGlobalModulesCache) { this.interpreterType = null; this.versionPropertyCache = null; this.interpreterPropertyCache = null; this.pythonPathNature.clearCaches(); if (clearGlobalModulesCache) { ModulesManager.clearCache(); } }