JetConstructorCalleeExpression#getTypeReference() by stub

This commit is contained in:
Pavel V. Talanov
2014-04-04 20:01:04 +04:00
parent 8b95fd1d0c
commit 46d2d95de6
@@ -17,7 +17,6 @@
package org.jetbrains.jet.lang.psi; package org.jetbrains.jet.lang.psi;
import com.intellij.lang.ASTNode; import com.intellij.lang.ASTNode;
import com.intellij.psi.stubs.IStubElementType;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.psi.stubs.PsiJetPlaceHolderStub; import org.jetbrains.jet.lang.psi.stubs.PsiJetPlaceHolderStub;
@@ -34,7 +33,7 @@ public class JetConstructorCalleeExpression extends JetExpressionImplStub<PsiJet
@Nullable @IfNotParsed @Nullable @IfNotParsed
public JetTypeReference getTypeReference() { public JetTypeReference getTypeReference() {
return findChildByClass(JetTypeReference.class); return getStubOrPsiChild(JetStubElementTypes.TYPE_REFERENCE);
} }
@Nullable @IfNotParsed @Nullable @IfNotParsed