From 9df3e8a036b1a43785b193a81aef5b58901bc160 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Fri, 28 Mar 2014 15:10:00 +0400 Subject: [PATCH] JetClass#getPrimaryConstructorParameterList by stub --- compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java index fbba2a585b9..9bb2b5d3931 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java @@ -62,7 +62,7 @@ public class JetClass extends JetTypeParameterListOwnerStub imp @Nullable public JetParameterList getPrimaryConstructorParameterList() { - return (JetParameterList) findChildByType(JetNodeTypes.VALUE_PARAMETER_LIST); + return getStubOrPsiChild(JetStubElementTypes.VALUE_PARAMETER_LIST); } @NotNull