From c504082eb73b154ca6cb44b52d7f9827152b21a1 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 20 Mar 2014 15:30:02 +0400 Subject: [PATCH] JetTypeParameterListOwnerStub#getTypeConstraintList() by stub --- .../jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 6e29ac57619..4b8c712512c 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetTypeParameterListOwnerStub.java @@ -20,7 +20,6 @@ import com.intellij.lang.ASTNode; import com.intellij.psi.stubs.IStubElementType; 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; @@ -43,7 +42,7 @@ abstract class JetTypeParameterListOwnerStub ext @Nullable JetTypeConstraintList getTypeConstraintList() { - return (JetTypeConstraintList) findChildByType(JetNodeTypes.TYPE_CONSTRAINT_LIST); + return getStubOrPsiChild(JetStubElementTypes.TYPE_CONSTRAINT_LIST); } @Override