@Test public void formParamsParseIntoIndexToName() throws Exception { final MethodMetadata md = parseAndValidateMetadata(FormParams.class, "login", String.class, String.class, String.class); assertThat(md.formParams()) .containsExactly("customer_name", "user_name", "password"); assertThat(md.indexToName()).containsExactly( entry(0, asList("customer_name")), entry(1, asList("user_name")), entry(2, asList("password"))); }
@Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract(); }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract();  }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract();   }