miha-x64
03/09/2017, 8:41 PMopen class _FrameLayout : FrameLayout {
fun <T: View> T.lparams(...): T {...}
}
for example, this may look like this:
@receiver0:SomeAnnotation
@receiver1:SomeAnnotation
fun <T : View> FrameLayout.T.lparams(...): T {
// of course, if we have a package 'FrameLayout', this will break, so this syntax is just an example
// this@FrameLayout & this@T are available
}