bdawg.io
11/07/2017, 8:22 PM@Headers
annotation with a String[]
value.
public @interface Headers {
String[] value();
}
I’m trying to pass an array of Strings via arrayOf("value1, "value2")
but get “Expected type mismatch: required: String
found: `Array<String>`“. Is there something I need to do special to use the annotation with an array?