@Override
  default @Nullable PsiComment getTypeComment() {
    final PsiComment inlineComment = PyUtilCore.getCommentOnHeaderLine(this);
    if (inlineComment != null && PyUtilCore.getTypeCommentValue(inlineComment.getText()) != null) {
      return inlineComment;
    }

    final PyAstStatementList statements = getStatementList();
    if (statements.getStatements().length != 0) {
      final PsiComment comment = ObjectUtils.tryCast(statements.getFirstChild(), PsiComment.class);
      if (comment != null && PyUtilCore.getTypeCommentValue(comment.getText()) != null) {
        return comment;
      }
    }
    return null;
  }
@Override
  default @Nullable PsiComment getTypeComment()