test/tools/javac/annotations/typeAnnotations/referenceinfos/Fields.java
Print this page
*** 28,38 ****
* @summary Test population of reference info for field
* @compile -g Driver.java ReferenceInfoUtil.java Fields.java
* @run main Driver Fields
*/
public class Fields {
-
// field types
@TADescription(annotation = "TA", type = FIELD)
public String fieldAsPrimitive() {
return "@TA int test;";
}
--- 28,37 ----
*** 122,128 ****
genericLocation = { 3, 1, 3, 0 })
})
public String staticFieldAsParametrized() {
return "static @TA Map<@TB String, @TC List<@TD String>> test;";
}
-
}
--- 121,126 ----