Support variants in Android Extensions (compiler plugin)

This commit is contained in:
Yan Zhulanow
2015-10-21 21:56:52 +03:00
parent a6e9ee9323
commit 161d8b105f
100 changed files with 806 additions and 143 deletions
@@ -2,27 +2,35 @@ package kotlinx.android.synthetic.`get`
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.item_detail_container"))
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.item_detail_container"))
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.textView1"))
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.textView1"))
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.password"))
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.password"))
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.login"))
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.login"))
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.`get`.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.view.item_detail_container"))
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.view.textView1"))
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.view.password"))
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.view.login"))
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,28 @@
package kotlinx.android.synthetic.main.`get`
import kotlin.internal.flexible.ft
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.`get`.view
import kotlin.internal.flexible.ft
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,10 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -0,0 +1,7 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -2,9 +2,11 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -2,6 +2,7 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -0,0 +1,10 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -0,0 +1,7 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -2,9 +2,11 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -2,6 +2,7 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
@@ -0,0 +1,10 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@@ -0,0 +1,7 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@@ -2,9 +2,11 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
val android.app.Activity.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@@ -2,6 +2,7 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.view.button"))
val android.view.View.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@@ -0,0 +1,28 @@
package kotlinx.android.synthetic.main.test1
import kotlin.internal.flexible.ft
val android.app.Activity.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.app.Fragment.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.app.Activity.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.app.Fragment.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.app.Activity.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.test1.view
import kotlin.internal.flexible.ft
val android.view.View.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.view.View.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.view.View.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,28 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,27 +2,35 @@ package kotlinx.android.synthetic.test1
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.frameLayout"))
val android.app.Activity.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.frameLayout"))
val android.app.Fragment.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.passwordField"))
val android.app.Activity.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.passwordField"))
val android.app.Fragment.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.passwordCaption"))
val android.app.Activity.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.passwordCaption"))
val android.app.Fragment.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.loginButton"))
val android.app.Activity.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.loginButton"))
val android.app.Fragment.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.test1.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.view.frameLayout"))
val android.view.View.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.view.passwordField"))
val android.view.View.passwordField: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.view.passwordCaption"))
val android.view.View.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.view.loginButton"))
val android.view.View.loginButton: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,27 +2,35 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,4 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
@@ -0,0 +1,4 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.textView1: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.app.Fragment.textView1: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
val android.app.Activity.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@@ -0,0 +1,10 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.textView1: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.view.View.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Activity.textView1: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Fragment.textView1: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.textView2"))
val android.app.Activity.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.textView2"))
val android.app.Fragment.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@@ -2,9 +2,11 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
val android.view.View.textView1: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.view.textView2"))
val android.view.View.textView2: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@@ -0,0 +1,22 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
val android.app.Activity.button2: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.button2: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
val android.app.Activity.button3: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.button3: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,13 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.view.View.button2: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.view.View.button3: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,21 +2,27 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
val android.app.Activity.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.button2"))
val android.app.Activity.button2: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.button2"))
val android.app.Fragment.button2: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.button3"))
val android.app.Activity.button3: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.button3"))
val android.app.Fragment.button3: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,12 +2,15 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.view.button"))
val android.view.View.button: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.view.button2"))
val android.view.View.button2: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.view.button3"))
val android.view.View.button3: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,28 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,27 +2,35 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,28 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,13 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,27 +2,35 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,12 +2,15 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.view.includeTag"))
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.view.`fun`"))
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.view.`set`"))
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,40 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.support.v4.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.support.v4.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.support.v4.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
val android.support.v4.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,16 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,39 +2,51 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
val android.support.v4.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = getView().findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
val android.support.v4.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
val android.support.v4.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
get() = getView().findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
val android.support.v4.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,15 +2,19 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
get() = findViewById(0) as? android.widget.FrameLayout
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
get() = findViewById(0) as? android.widget.EditText
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,43 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
val android.support.v4.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
val android.support.v4.app.Fragment.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
val android.support.v4.app.FragmentActivity.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
get() = getSupportFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.support.v4.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
val android.support.v4.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -0,0 +1,13 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -2,42 +2,55 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
val android.support.v4.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.support.v4.app.Fragment.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
val android.support.v4.app.FragmentActivity.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
get() = getSupportFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
val android.support.v4.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = getView().findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
val android.support.v4.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
get() = getView().findViewById(0) as? android.widget.Button
@@ -2,12 +2,15 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.view.includeTag"))
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.view.`fun`"))
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
get() = findViewById(0) as? android.widget.TextView
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.view.`set`"))
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button
@@ -0,0 +1,12 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Activity.MyView: ft<a.b.c, a.b.c?>
get() = findViewById(0) as? a.b.c
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Fragment.MyView: ft<a.b.c, a.b.c?>
get() = getView().findViewById(0) as? a.b.c
@@ -0,0 +1,8 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.view.View.MyView: ft<a.b.c, a.b.c?>
get() = findViewById(0) as? a.b.c
@@ -2,10 +2,12 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.MyView"))
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Activity.MyView: ft<a.b.c, a.b.c?>
get() = findViewById(0) as? a.b.c
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.MyView"))
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Fragment.MyView: ft<a.b.c, a.b.c?>
get() = getView().findViewById(0) as? a.b.c
@@ -2,6 +2,7 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.view.MyView"))
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.view.View.MyView: ft<a.b.c, a.b.c?>
get() = findViewById(0) as? a.b.c
@@ -0,0 +1,12 @@
package kotlinx.android.synthetic.main.test
import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Activity.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Fragment.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@@ -0,0 +1,8 @@
package kotlinx.android.synthetic.main.test.view
import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.view.View.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@@ -2,10 +2,12 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Activity.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Fragment.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0)
@@ -2,6 +2,7 @@ package kotlinx.android.synthetic.test.view
import kotlin.internal.flexible.ft
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.view.View.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = findViewById(0)
@@ -4,7 +4,7 @@ import android.app.Activity
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -4,7 +4,7 @@ import android.app.Activity
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -4,7 +4,7 @@ import android.app.Activity
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -4,7 +4,7 @@ import android.app.Activity
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -6,7 +6,7 @@ import android.content.Context
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -6,7 +6,7 @@ import android.content.Context
import android.view.View
import android.widget.*
import org.my.cool.MyButton
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -3,8 +3,8 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout1.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout1.*
class R {
class id {
@@ -3,8 +3,8 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout1.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout1.*
class R {
class id {
@@ -3,7 +3,7 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -3,7 +3,7 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class R {
class id {
@@ -3,8 +3,8 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout.view.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout.view.*
class R {
class id {
@@ -3,8 +3,8 @@ package com.myapp
import android.app.Activity
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout.view.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout.view.*
class R {
class id {
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Activity
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
fun Activity.a() {
val x = login
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Fragment
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
fun Fragment.a() {
val x = login
@@ -3,7 +3,7 @@ package com.myapp
import android.app.Activity
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyActivity : Activity() {
@@ -3,7 +3,7 @@ package com.myapp
import android.app.Fragment
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyFragment : Fragment()
@@ -1,7 +1,7 @@
package com.myapp
import android.view.View
import kotlinx.android.synthetic.layout.view.*
import kotlinx.android.synthetic.main.layout.view.*
fun View.a() {
val x = login
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Activity
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class MyActivity: Activity() {
val button = this.MyButton
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Fragment
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class MyFragment: Fragment() {
val button = this.MyButton
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Activity
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class MyActivity: Activity() {
val button = this.MyButton
@@ -1,7 +1,7 @@
package com.myapp
import android.app.Fragment
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
class MyFragment: Fragment() {
val button = this.MyButton
@@ -1,8 +1,8 @@
package com.myapp
import android.app.Activity
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout1.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout1.*
class MyActivity: Activity() {
val button = this.login
@@ -2,8 +2,8 @@ package com.myapp
import android.app.Activity
import android.app.Fragment
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.layout1.*
import kotlinx.android.synthetic.main.layout.*
import kotlinx.android.synthetic.main.layout1.*
class MyActivity: Activity() {
val button = this.login
@@ -2,7 +2,7 @@ package com.myapp
import android.app.Fragment
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyFragment : Fragment() {
init {login}
@@ -3,7 +3,7 @@ package com.myapp
import android.app.Activity
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyActivity : Activity() {
init {login}
@@ -2,7 +2,7 @@ package com.myapp
import android.app.Fragment
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyFragment : Fragment() {
init {login}
@@ -4,7 +4,7 @@ import android.app.Activity
import android.app.Fragment
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
public class MyActivity : Activity() {
init { fragm }
@@ -2,7 +2,7 @@ package com.myapp
import android.view.View
import android.app.Activity
import kotlinx.android.synthetic.layout.view.*
import kotlinx.android.synthetic.main.layout.view.*
public class MyActivity : Activity() {
init { View(this).login }
@@ -4,7 +4,7 @@ import android.app.Activity
import android.view.View
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
open class Fragment {
open fun getActivity(): Activity = throw Exception("Function getActivity() is not overridden")
@@ -3,7 +3,7 @@ package android.support.v4.app
import android.app.Activity
import android.view.View
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
open class Fragment {
open fun getActivity(): Activity = throw Exception("Function getActivity() is not overridden")
@@ -3,7 +3,7 @@ package android.support.v4.app
import android.app.Activity
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.layout.*
import kotlinx.android.synthetic.main.layout.*
open class FragmentManager {
open fun findFragmentById(id: Int): Fragment = throw Exception("Function getFragmentById() is not overriden")