package Ġio . hir as awa . server . plugin . event Ċ Ċ import Ġio . hir as awa . server . plugin . H ir as awa Plugin Ċ import Ġkotlin . reflect . K Function Ċ Ċ class ĠRegistered Listener Function ( private Ġval Ġevent Listener : ĠEvent Listener , Ġprivate Ġval Ġfunction : ĠK Function <* >, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġplugin : ĠH ir as awa Plugin ) Ġ{ ĊĠĠĠ Ġval Ġevent Class Ġ= Ġfunction . parameters [ 1 ]. type . toString () ĊĠĠĠ Ġval Ġannotation Ġ= Ġfunction . annotations [ 0 ] Ġas ĠEventHandler ĊĊĠĠĠ Ġfun Ġcall ( event : ĠH ir as awa Event <* >) Ġ{ ĊĠĠĠĠĠĠĠ Ġfunction . call ( event Listener , Ġevent ) ĊĠĠĠ Ġ} Ċ }