From 2ab81d3b79778ac7baa9e5f0b3d3d918a1b6052f Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 20 Mar 2014 13:36:42 +0400 Subject: [PATCH] JetTypeParameterListOwnerStub#getTypeParameterList by stub --- .../jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java index c74a7c4f7f5..6e29ac57619 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java @@ -22,6 +22,7 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jetbrains.jet.JetNodeTypes; import org.jetbrains.jet.lang.psi.stubs.PsiJetStubWithFqName; +import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes; import java.util.Collections; import java.util.List; @@ -37,7 +38,7 @@ abstract class JetTypeParameterListOwnerStub ext @Nullable public JetTypeParameterList getTypeParameterList() { - return (JetTypeParameterList) findChildByType(JetNodeTypes.TYPE_PARAMETER_LIST); + return getStubOrPsiChild(JetStubElementTypes.TYPE_PARAMETER_LIST); } @Nullable