//
this.metaData = metaData;
this.parameterNames = Collections.unmodifiableSet(parameterNames);
this.parameters = Collections.unmodifiableList(parameters);
this.methodInvoker = new SimpleMethodInvoker(metaData.getMethod()) {
@Override
protected String getArgumentName(int index) {
RestResourceMethodParameter param = RestResourceMethod.this.parameters.get(index);
return param != null ? param.getName() : null;
}