JetTypeArgumentList#getArguments() by stub
This commit is contained in:
@@ -17,11 +17,8 @@
|
||||
package org.jetbrains.jet.lang.psi;
|
||||
|
||||
import com.intellij.lang.ASTNode;
|
||||
import com.intellij.psi.stubs.IStubElementType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.JetNodeTypes;
|
||||
import org.jetbrains.jet.lang.psi.stubs.PsiJetPlaceHolderStub;
|
||||
import org.jetbrains.jet.lang.psi.stubs.elements.JetPlaceHolderStubElementType;
|
||||
import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes;
|
||||
|
||||
import java.util.List;
|
||||
@@ -42,6 +39,6 @@ public class JetTypeArgumentList extends JetElementImplStub<PsiJetPlaceHolderStu
|
||||
|
||||
@NotNull
|
||||
public List<JetTypeProjection> getArguments() {
|
||||
return findChildrenByType(JetNodeTypes.TYPE_PROJECTION);
|
||||
return getStubOrPsiChildrenAsList(JetStubElementTypes.TYPE_PROJECTION);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user