PsiType (@NotNull String typeName) { PsiType res = myTypeMap.get(typeName); if (res == null) { res = myFactory.createTypeByFQClassName(typeName, myResolveScope); myTypeMap.put(typeName, res); } return res; }