JetTypeParameterListOwnerStub#getTypeParameterList by stub
This commit is contained in:
@@ -22,6 +22,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import org.jetbrains.jet.JetNodeTypes;
|
import org.jetbrains.jet.JetNodeTypes;
|
||||||
import org.jetbrains.jet.lang.psi.stubs.PsiJetStubWithFqName;
|
import org.jetbrains.jet.lang.psi.stubs.PsiJetStubWithFqName;
|
||||||
|
import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -37,7 +38,7 @@ abstract class JetTypeParameterListOwnerStub<T extends PsiJetStubWithFqName> ext
|
|||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public JetTypeParameterList getTypeParameterList() {
|
public JetTypeParameterList getTypeParameterList() {
|
||||||
return (JetTypeParameterList) findChildByType(JetNodeTypes.TYPE_PARAMETER_LIST);
|
return getStubOrPsiChild(JetStubElementTypes.TYPE_PARAMETER_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
Reference in New Issue
Block a user