/cts/tools/signature-tools/test/signature/converter/ |
H A D | ConvertAnnotationTest.java | 66 IAnnotationField field = annotationFields.iterator().next();
67 assertEquals("name", field.getName());
68 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName());
69 assertEquals("nobody", field.getDefaultValue());
70 Set<IAnnotation> annotations = field.getAnnotations();
168 IAnnotationField field = annotationFields.iterator().next();
169 assertEquals("value", field.getName());
171 assertTrue(field.getType() instanceof IArrayType);
172 assertTrue(field.getDefaultValue() instanceof Object[]);
173 assertSame(field [all...] |
H A D | ConvertParameterizedTypeTest.java | 53 IField field = ModelUtil.getField(sigClass, "f"); 55 ITypeReference type = field.getType(); 87 Field field = A.class.getDeclaredField("f"); 88 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); 98 Field field = ConvertParameterizedTypeTest.class.getDeclaredField("f"); 99 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); 111 Field field = E.class.getDeclaredField("f"); 112 ParameterizedType paramType = (ParameterizedType) field.getGenericType();
|
H A D | ConvertWildcardTest.java | 50 IField field = ModelUtil.getField(sigClass, "f"); 52 ITypeReference type = field.getType(); 79 IField field = ModelUtil.getField(sigClass, "f"); 81 ITypeReference type = field.getType();
|
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/ |
H A D | JDiffClassDescriptionTest.java | 191 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("FINAL_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.FINAL); 192 clz.addField(field); 194 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); 198 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("STATIC_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.STATIC); 199 clz.addField(field); 201 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); 205 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("VOLATILE_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.VOLATILE); 206 clz.addField(field); 208 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); 212 JDiffClassDescription.JDiffField field [all...] |
/cts/tools/signature-tools/src/signature/model/util/ |
H A D | ModelUtil.java | 75 for (IField field : clazz.getFields()) { 76 if (fieldName.equals(field.getName())) { 77 return field; 85 for (IAnnotationField field : annotation.getAnnotationFields()) { 86 if (fieldName.equals(field.getName())) { 87 return field;
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
H A D | SigDelta.java | 101 for (Field field : allFields) { 102 if (!ignore.contains(field.getName())) { 103 field.setAccessible(true); 104 Object delta = field.get(this); 106 builder.append(field.getName());
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iput/d/ |
H A D | T_iput_1.d | 19 .field public st_i1 I 20 .field protected st_p1 I 21 .field private st_pvt1 I
|
H A D | T_iput_13.d | 19 .field public st_i1 I 20 .field protected st_p1 I 21 .field private st_pvt1 I
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iput_char/d/ |
H A D | T_iput_char_1.d | 19 .field public st_i1 C 20 .field protected st_p1 C 21 .field private st_pvt1 C
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iput_short/d/ |
H A D | T_iput_short_1.d | 19 .field public st_i1 S 20 .field protected st_p1 S 21 .field private st_pvt1 S
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sput/d/ |
H A D | T_sput_1.d | 19 .field public static st_i1 I 20 .field protected static st_p1 I 21 .field private static st_pvt1 I
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sput_boolean/d/ |
H A D | T_sput_boolean_1.d | 19 .field public static st_i1 Z 20 .field protected static st_p1 Z 21 .field private static st_pvt1 Z
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sput_byte/d/ |
H A D | T_sput_byte_1.d | 19 .field public static st_i1 B 20 .field protected static st_p1 B 21 .field private static st_pvt1 B
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sput_char/d/ |
H A D | T_sput_char_1.d | 19 .field public static st_i1 C 20 .field protected static st_p1 C 21 .field private static st_pvt1 C
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sput_short/d/ |
H A D | T_sput_short_1.d | 19 .field public static st_i1 S 20 .field protected static st_p1 S 21 .field private static st_pvt1 S
|
/cts/tools/dex-tools/src/dex/reader/ |
H A D | TypeFormatter.java | 114 for (DexField field : dexClass.getFields()) { 115 builder.append(field).append("\n");
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget/d/ |
H A D | T_iget_1.d | 19 .field public i1 I 20 .field protected p1 I 21 .field private pvt1 I
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_boolean/d/ |
H A D | T_iget_boolean_1.d | 19 .field public i1 Z 20 .field protected p1 Z 21 .field private pvt1 Z
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_byte/d/ |
H A D | T_iget_byte_1.d | 19 .field public i1 B 20 .field protected p1 B 21 .field private pvt1 B
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_char/d/ |
H A D | T_iget_char_1.d | 19 .field public i1 C 20 .field protected p1 C 21 .field private pvt1 C
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_object/d/ |
H A D | T_iget_object_1.d | 19 .field public i1 Ljava/lang/Object; 20 .field protected p1 Ljava/lang/Object; 21 .field private pvt1 Ljava/lang/Object;
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_short/d/ |
H A D | T_iget_short_1.d | 19 .field public i1 S 20 .field protected p1 S 21 .field private pvt1 S
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_wide/d/ |
H A D | T_iget_wide_1.d | 19 .field public i1 J 20 .field protected p1 J 21 .field private pvt1 J
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iput_boolean/d/ |
H A D | T_iput_boolean_1.d | 19 .field public st_i1 Z 20 .field protected st_p1 Z 21 .field private st_pvt1 Z
|
/cts/tools/vm-tests/src/dot/junit/opcodes/iput_byte/d/ |
H A D | T_iput_byte_1.d | 19 .field public st_i1 B 20 .field protected st_p1 B 21 .field private st_pvt1 B
|