JetTypeConstraintList#getConstraints() by stub
This commit is contained in:
@@ -40,6 +40,6 @@ public class JetTypeConstraintList extends JetElementImplStub<PsiJetPlaceHolderS
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public List<JetTypeConstraint> getConstraints() {
|
public List<JetTypeConstraint> getConstraints() {
|
||||||
return findChildrenByType(JetNodeTypes.TYPE_CONSTRAINT);
|
return getStubOrPsiChildrenAsList(JetStubElementTypes.TYPE_CONSTRAINT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user