Indirect characterization occurs when a character is described by using dialogue, actions or events related to the character, as opposed to simply listing the character's characteristics. This allows the reader to see the character in action and to reach his own conclusion about the character's way of being. This is different from direct characterization, in which an author directly describes what a character is like.
This is an instance of dramatic irony, taking into account that this figure of spech is when the implications of a situation, speech, etc, are understood by the audience but not by the characters in the play.