From bceb5c3970f4be23bee26052eb1d24f4ccc3ac7f Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Fri, 28 Mar 2014 21:24:11 +0400 Subject: [PATCH] JetClass#getDelegationSpecifierList() 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 9bb2b5d3931..78d2a3589e3 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetClass.java @@ -75,7 +75,7 @@ public class JetClass extends JetTypeParameterListOwnerStub imp @Override @Nullable public JetDelegationSpecifierList getDelegationSpecifierList() { - return (JetDelegationSpecifierList) findChildByType(JetNodeTypes.DELEGATION_SPECIFIER_LIST); + return getStubOrPsiChild(JetStubElementTypes.DELEGATION_SPECIFIER_LIST); } @Override