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