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