PsiElement () { return CachedValuesManager.getCachedValue(this, () -> { JavaPsiImplementationHelper helper = JavaPsiImplementationHelper.getInstance(getProject()); PsiJavaModule result = helper != null ? helper.getOriginalModule(this) : this; return CachedValueProvider.Result.create(result, PsiModificationTracker.MODIFICATION_COUNT); }); }