"@Argument(name=\"some\") String d) {}\n" +
"}");
//
Field a = clazz.getDeclaredField("a");
Argument aArg = a.getAnnotation(Argument.class);
assertEquals("a", aArg.name());
//
Field b = clazz.getDeclaredField("b");
Argument bArg = b.getAnnotation(Argument.class);
assertEquals("some", bArg.name());
//
Method m = clazz.getDeclaredMethod("bar", String.class, String.class);
Annotation[][] mAnnotations = m.getParameterAnnotations();
assertEquals("c", ((Argument)mAnnotations[0][0]).name());