JetDelegatorToSuperCall#getCalleeExpression() by stub

This commit is contained in:
Pavel V. Talanov
2014-04-04 19:57:43 +04:00
parent 029a792165
commit 8b95fd1d0c
@@ -43,7 +43,7 @@ public class JetDelegatorToSuperCall extends JetDelegationSpecifier implements J
@NotNull
@Override
public JetConstructorCalleeExpression getCalleeExpression() {
return (JetConstructorCalleeExpression) findChildByType(JetNodeTypes.CONSTRUCTOR_CALLEE);
return getRequiredStubOrPsiChild(JetStubElementTypes.CONSTRUCTOR_CALLEE);
}
@Nullable