WARNING: /Volumes/work/dev/xujun/visitor/src/main/java/jaxrs.kt: (465, 42) The corresponding parameter in the supertype 'MessageBodyWriter' is named 'p1'. This may cause problems when calling this function with named arguments.
In java, we can achieve with this:
@SuppressWarnings(“unchecked”)
thanks!
Outersky