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