Searched refs:field (Results 1 - 25 of 480) sorted by relevance

1234567891011>>

/cts/tools/signature-tools/test/signature/converter/
H A DConvertAnnotationTest.java66 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 DConvertParameterizedTypeTest.java53 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 DConvertWildcardTest.java50 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 DJDiffClassDescriptionTest.java191 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 DModelUtil.java75 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 DSigDelta.java101 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 DT_iput_1.d19 .field public st_i1 I
20 .field protected st_p1 I
21 .field private st_pvt1 I
H A DT_iput_13.d19 .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 DT_iput_char_1.d19 .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 DT_iput_short_1.d19 .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 DT_sput_1.d19 .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 DT_sput_boolean_1.d19 .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 DT_sput_byte_1.d19 .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 DT_sput_char_1.d19 .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 DT_sput_short_1.d19 .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 DTypeFormatter.java114 for (DexField field : dexClass.getFields()) {
115 builder.append(field).append("\n");
/cts/tools/vm-tests/src/dot/junit/opcodes/iget/d/
H A DT_iget_1.d19 .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 DT_iget_boolean_1.d19 .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 DT_iget_byte_1.d19 .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 DT_iget_char_1.d19 .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 DT_iget_object_1.d19 .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 DT_iget_short_1.d19 .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 DT_iget_wide_1.d19 .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 DT_iput_boolean_1.d19 .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 DT_iput_byte_1.d19 .field public st_i1 B
20 .field protected st_p1 B
21 .field private st_pvt1 B

Completed in 4793 milliseconds

1234567891011>>