PyTypeParameterStub (@NotNull PyTypeParameter psi, StubElement<? extends PsiElement> parentStub) { return new PyTypeParameterStubImpl(psi.getName(), getTypeParameterKindFromPsi(psi), psi.getBoundExpression() != null ? psi.getBoundExpression().getText() : null, parentStub, getStubElementType()); }