mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
26 lines
637 B
Kotlin
Vendored
26 lines
637 B
Kotlin
Vendored
package test
|
|
|
|
import kotlinx.android.parcel.Parcelize
|
|
import android.os.Parcelable
|
|
|
|
@Parcelize
|
|
interface <error descr="[PLUGIN_ERROR] 'Parcelable' should be a class">Intf</error> : Parcelable
|
|
|
|
@Parcelize
|
|
object <error descr="[PLUGIN_ERROR] No 'Parcelable' supertype">Obj</error>
|
|
|
|
class A {
|
|
@Parcelize
|
|
companion <error descr="[PLUGIN_ERROR] No 'Parcelable' supertype">object</error> {
|
|
fun foo() {}
|
|
}
|
|
}
|
|
|
|
@Parcelize
|
|
enum class <error descr="[PLUGIN_ERROR] No 'Parcelable' supertype">Enum</error> {
|
|
WHITE, BLACK
|
|
}
|
|
|
|
@Parcelize
|
|
annotation class <error descr="[PLUGIN_ERROR] 'Parcelable' should be a class">Anno</error>
|