Home | History | Annotate | Download | only in anno

Lines Matching refs:field

5 import java.lang.reflect.Field;
60 for (Field f: clazz.getDeclaredFields()) {
62 System.out.println(" annotations on FIELD " + f + ":");
103 Field field;
107 field = TestAnnotations.class.getDeclaredField("thing1");
108 annotations = field.getAnnotations();
109 System.out.println(field + ": " + annotations[0].toString());
111 field = TestAnnotations.class.getDeclaredField("thing2");
112 annotations = field.getAnnotations();
113 System.out.println(field + ": " + annotations[0].toString());