JetDelegationSpecifier#getTypeReference() by stub

This commit is contained in:
Pavel V. Talanov
2014-04-04 19:34:53 +04:00
parent e5cec5aaeb
commit b08f37345e
@@ -21,8 +21,8 @@ import com.intellij.psi.stubs.IStubElementType;
import com.intellij.util.ArrayFactory;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.JetNodeTypes;
import org.jetbrains.jet.lang.psi.stubs.PsiJetPlaceHolderStub;
import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes;
public class JetDelegationSpecifier extends JetElementImplStub<PsiJetPlaceHolderStub<? extends JetDelegationSpecifier>> {
@@ -53,7 +53,7 @@ public class JetDelegationSpecifier extends JetElementImplStub<PsiJetPlaceHolder
@Nullable
public JetTypeReference getTypeReference() {
return (JetTypeReference) findChildByType(JetNodeTypes.TYPE_REFERENCE);
return getStubOrPsiChild(JetStubElementTypes.TYPE_REFERENCE);
}
@Nullable