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