From b0ff1c4e3acfef0c016bbd91fc4151f9a292bfe9 Mon Sep 17 00:00:00 2001 From: Piotr Tomiak Date: Fri, 19 Jun 2026 14:15:28 +0200 Subject: [PATCH] WEB-77722 Angular/Kolar: make it possible to transpile Angular component using built-in type engine. (cherry picked from commit fefdbb5e336db8b89c72f1b3ca6969467f42be0c) IJ-CR-208775 GitOrigin-RevId: 138a24707eaab2ac604fa3695f9ac0a21d395c21 --- platform/core-api/api-dump.txt | 6 +++--- .../com/intellij/psi/stubs/StubBuildCachedValuesManager.kt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/core-api/api-dump.txt b/platform/core-api/api-dump.txt index f048c8774570..078f0311fa30 100644 --- a/platform/core-api/api-dump.txt +++ b/platform/core-api/api-dump.txt @@ -3208,11 +3208,11 @@ f:com.intellij.psi.stubs.StubBuildCachedValuesManager - sf:getCachedValueStubBuildOptimized(com.intellij.psi.PsiElement,com.intellij.psi.stubs.StubBuildCachedValuesManager$StubBuildCachedValueProvider):java.lang.Object - sf:isBuildingStubs():Z f:com.intellij.psi.stubs.StubBuildCachedValuesManager$StubBuildCachedValue -f:com.intellij.psi.stubs.StubBuildCachedValuesManager$StubBuildCachedValueProvider +c:com.intellij.psi.stubs.StubBuildCachedValuesManager$StubBuildCachedValueProvider - (java.lang.String,com.intellij.psi.util.ParameterizedCachedValueProvider):V -- f:getParametrizedCacheKey():com.intellij.openapi.util.Key +- getParametrizedCacheKey():com.intellij.openapi.util.Key - f:getParametrizedCachedValueProvider():com.intellij.psi.util.ParameterizedCachedValueProvider -- f:getStubCacheKey():com.intellij.openapi.util.Key +- getStubCacheKey():com.intellij.openapi.util.Key com.intellij.psi.stubs.StubElement - com.intellij.psi.stubs.Stub - findChildStubByElementType(com.intellij.psi.tree.IElementType):com.intellij.psi.stubs.StubElement diff --git a/platform/core-api/src/com/intellij/psi/stubs/StubBuildCachedValuesManager.kt b/platform/core-api/src/com/intellij/psi/stubs/StubBuildCachedValuesManager.kt index d03c570b9a85..695f25d92462 100644 --- a/platform/core-api/src/com/intellij/psi/stubs/StubBuildCachedValuesManager.kt +++ b/platform/core-api/src/com/intellij/psi/stubs/StubBuildCachedValuesManager.kt @@ -149,12 +149,12 @@ object StubBuildCachedValuesManager { { CachedValuesManager.getCachedValue(psiElement, provider) } ) - class StubBuildCachedValueProvider( + open class StubBuildCachedValueProvider( key: String, val parametrizedCachedValueProvider: ParameterizedCachedValueProvider, ) { - val stubCacheKey: Key> = Key.create("$key.stub.building") - val parametrizedCacheKey: Key> = Key.create(key) + open val stubCacheKey: Key> = Key.create("$key.stub.building") + open val parametrizedCacheKey: Key> = Key.create(key) } class StubBuildCachedValue internal constructor(internal val buildId: Long, internal val value: T)