The transformation also provides an option to generate the function definition for an inline function in the header file below the class declaration. To activate this option, perform these steps
该转换还提供了另外一个选项:为一个在类声明下的头文件中的内联函数生成该函数的定义。
Often, you'd see the listener defined as an inline anonymous class.
通常,您会看到侦听器被定义为内嵌匿名类。
The inline function can be overused in class definitions, of course.
当然,内联函数也许会在类定义里被多次使用。
应用推荐