field = fields.get(1);
assertEquals("annotatedField", field.getName());
assertEquals("Ljava/lang/String;", field.getDesc());
annotations = field.getAnnotations();
assertEquals(1, annotations.size());
AnnotationData annotation = annotations.get(0).getAnnotation();
assertEquals("Lcom/google/gwt/dev/javac/typemodel/test/TestAnnotation;",
annotation.getDesc());
assertEquals("field", annotation.getValues().get("value"));
assertEquals(0, cd.getInterfaceInternalNames().length);
annotations = cd.getAnnotations();
assertEquals(1, annotations.size());
annotation = annotations.get(0).getAnnotation();
assertEquals(
"Lcom/google/gwt/dev/javac/typemodel/test/PrimitiveValuesAnnotation;",
annotation.getDesc());
assertEquals(Byte.valueOf((byte) 42), annotation.getValues().get("b"));
assertEquals(42, annotation.getValues().get("i"));
assertEquals("java/lang/Object", cd.getSuperInternalName());
assertEquals("CollectClassDataTest.Two", cd.getNestedSourceName());
List<CollectMethodData> methods = cd.getMethods();
assertEquals(3, methods.size());