create annotation kotlin code example Example: a type annotation is required on a value parameter kotlin fun testMethod(inst: Base) { inst.method() }