List<PsiClass> (String packageName) { assertValid(); ApplicationManager.getApplication().assertReadAccessAllowed(); List<PsiClass> psiClasses = myPackageToClassesMap.get(packageName); if (psiClasses == null) { psiClasses = new ArrayList<>(); myPackageToClassesMap.put(packageName, psiClasses); } return psiClasses; }