val a: Int by Delegate() class Delegate { fun get(t: Any?, p: PropertyMetadata): Int { t.equals(p) // to avoid UNUSED_PARAMETER warning return 1 } }