What is the meaning of Self-referential?

That refers to itself or oneself.

In a literary work: referring to the author or the author's other works.

Source: wiktionary.org