Detect 'super' and 'extends' keywords in event types.