InspectionProfileWrapper (@NotNull InspectionProfile profile) { if (!READY) { return new InspectionProfileWrapper((InspectionProfileImpl)profile); } MyInspectionProfileWrapper wrapper = myWrappers.get(profile); return wrapper == null ? ConcurrencyUtil.cacheOrGet(myWrappers, profile, new MyInspectionProfileWrapper(profile, myUseSpellCheck)) : wrapper; }