/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/reflect/ |
D | FieldUtilsTest.java | 216 FieldUtilsTest.class.getDeclaredField("publicChild"), in testGetFieldsWithAnnotation() 217 FieldUtilsTest.class.getDeclaredField("privatelyShadowedChild") }); in testGetFieldsWithAnnotation() 241 FieldUtilsTest.class.getDeclaredField("publicChild"), in testGetFieldsListWithAnnotation() 242 FieldUtilsTest.class.getDeclaredField("privatelyShadowedChild") in testGetFieldsListWithAnnotation() 267 assertNull(FieldUtils.getDeclaredField(PublicChild.class, "VALUE")); in testGetDeclaredField() 268 assertNull(FieldUtils.getDeclaredField(PublicChild.class, "s")); in testGetDeclaredField() 269 assertNull(FieldUtils.getDeclaredField(PublicChild.class, "b")); in testGetDeclaredField() 270 assertNull(FieldUtils.getDeclaredField(PublicChild.class, "i")); in testGetDeclaredField() 271 assertNull(FieldUtils.getDeclaredField(PublicChild.class, "d")); in testGetDeclaredField() 272 assertNull(FieldUtils.getDeclaredField(PubliclyShadowedChild.class, "VALUE")); in testGetDeclaredField() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | BeanPropertySetterTest.java | 24 Field theField = someBean.getClass().getDeclaredField("theField"); in use_the_correct_setter_on_the_target() 40 Field theField = someBean.getClass().getDeclaredField("UUID"); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps() 56 Field theField = someBean.getClass().getDeclaredField("theField"); in should_not_fail_if_bean_class_declares_only_the_setter_for_the_property() 71 Field theField = bean.getClass().getDeclaredField("theField"); in should_fail_if_matching_setter_cannot_be_found_and_if_report_failure_is_true() 88 Field theField = bean.getClass().getDeclaredField("theField"); in return_false_if_no_setter_was_found() 102 Field theField = bean.getClass().getDeclaredField("theField"); in return_false_if_no_setter_was_found_and_if_reportNoSetterFound_is_false()
|
D | FieldReaderTest.java | 24 FieldReader reader = new FieldReader(new Foo(), Foo.class.getDeclaredField("isNull")); in shouldKnowWhenNull() 32 FieldReader reader = new FieldReader(new Foo(), Foo.class.getDeclaredField("notNull")); in shouldKnowWhenNotNull()
|
D | FieldInitializerTest.java | 129 … new FieldInitializer(testWithLocalType, testWithLocalType.getClass().getDeclaredField("field")); in should_fail_for_local_type_field() 144 … new FieldInitializer(testWithLocalType, testWithLocalType.getClass().getDeclaredField("field")); in should_not_fail_if_local_type_field_is_instantiated() 168 return this.getClass().getDeclaredField(fieldName); in field()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/reflect/ |
D | FieldUtils.java | 107 final Field field = acls.getDeclaredField(fieldName); in getField() 149 public static Field getDeclaredField(final Class<?> cls, final String fieldName) { in getDeclaredField() method in FieldUtils 150 return getDeclaredField(cls, fieldName, false); in getDeclaredField() 169 …public static Field getDeclaredField(final Class<?> cls, final String fieldName, final boolean for… in getDeclaredField() method in FieldUtils 174 final Field field = cls.getDeclaredField(fieldName); in getDeclaredField() 371 final Field field = getDeclaredField(cls, fieldName, forceAccess); in readDeclaredStaticField() 500 final Field field = getDeclaredField(cls, fieldName, forceAccess); in readDeclaredField() 630 final Field field = getDeclaredField(cls, fieldName, forceAccess); in writeDeclaredStaticField() 718 final Field modifiersField = Field.class.getDeclaredField("modifiers"); in removeFinalModifier() 832 final Field field = getDeclaredField(cls, fieldName, forceAccess); in writeDeclaredField()
|
/external/angle/build/android/incremental_install/third_party/AndroidHiddenApiBypass/library/src/main/java/org/lsposed/hiddenapibypass/ |
D | HiddenApiBypass.java | 71 … methodOffset = unsafe.objectFieldOffset(Helper.Executable.class.getDeclaredField("artMethod")); 72 …classOffset = unsafe.objectFieldOffset(Helper.Executable.class.getDeclaredField("declaringClass")); 73 …artOffset = unsafe.objectFieldOffset(Helper.MethodHandle.class.getDeclaredField("artFieldOrMethod"… 74 … infoOffset = unsafe.objectFieldOffset(Helper.MethodHandleImpl.class.getDeclaredField("info")); 75 … methodsOffset = unsafe.objectFieldOffset(Helper.Class.class.getDeclaredField("methods")); 76 iFieldOffset = unsafe.objectFieldOffset(Helper.Class.class.getDeclaredField("iFields")); 77 sFieldOffset = unsafe.objectFieldOffset(Helper.Class.class.getDeclaredField("sFields")); 78 … memberOffset = unsafe.objectFieldOffset(Helper.HandleInfo.class.getDeclaredField("member")); 94 Field fI = Helper.NeverCall.class.getDeclaredField("i"); 95 Field fJ = Helper.NeverCall.class.getDeclaredField("j"); [all …]
|
/external/guice/core/test/com/google/inject/util/ |
D | TypesTest.java | 60 mapStringInteger = (ParameterizedType) getClass().getDeclaredField("a").getGenericType(); in setUp() 61 innerFloatDouble = (ParameterizedType) getClass().getDeclaredField("b").getGenericType(); in setUp() 62 listSetStringArray = (ParameterizedType) getClass().getDeclaredField("c").getGenericType(); in setUp() 63 listString = (ParameterizedType) getClass().getDeclaredField("d").getGenericType(); in setUp() 64 setString = (ParameterizedType) getClass().getDeclaredField("e").getGenericType(); in setUp() 65 outerInner = (ParameterizedType) getClass().getDeclaredField("f").getGenericType(); in setUp()
|
/external/gson/gson/src/test/java/com/google/gson/reflect/ |
D | TypeTokenTest.java | 50 Type a = getClass().getDeclaredField("listOfInteger").getGenericType(); in testIsAssignableFromWithTypeParameters() 51 Type b = getClass().getDeclaredField("listOfNumber").getGenericType(); in testIsAssignableFromWithTypeParameters() 63 Type a = getClass().getDeclaredField("listOfString").getGenericType(); in testIsAssignableFromWithBasicWildcards() 64 Type b = getClass().getDeclaredField("listOfUnknown").getGenericType(); in testIsAssignableFromWithBasicWildcards() 77 Type a = getClass().getDeclaredField("listOfSetOfString").getGenericType(); in testIsAssignableFromWithNestedWildcards() 78 Type b = getClass().getDeclaredField("listOfSetOfUnknown").getGenericType(); in testIsAssignableFromWithNestedWildcards()
|
/external/vogar/src/vogar/target/ |
D | TestEnvironment.java | 54 f = dateFormatClass.getDeclaredField("is24Hour"); 218 Field modifiersField = Field.class.getDeclaredField("modifiers"); in disableSecurity() 221 Field verifyMapField = securityBrokerClass.getDeclaredField("verificationResults"); in disableSecurity() 226 Field restrictedField = securityBrokerClass.getDeclaredField("isRestricted"); in disableSecurity()
|
/external/icu/android_icu4j/testing/src/android/icu/extratest/impl/locale/ |
D | LocaleObjectCacheTest.java | 124 Field mapField = LocaleObjectCache.class.getDeclaredField("_map"); in getFromCache() 150 Field queueField = LocaleObjectCache.class.getDeclaredField("_queue"); in getQueue() 156 Field f = BaseLocale.class.getDeclaredField("CACHE"); in getLocaleObjectCache()
|
/external/robolectric/shadowapi/src/main/java/org/robolectric/util/ |
D | ReflectionHelpers.java | 114 Field field = traversalClass.getDeclaredField(fieldName); 138 Field field = traversalClass.getDeclaredField(fieldName); 159 Field field = type.getDeclaredField(fieldName); 176 Field field = clazz.getDeclaredField(fieldName); 210 return getStaticField(clazz.getDeclaredField(fieldName)); 243 setStaticField(clazz.getDeclaredField(fieldName), fieldNewValue);
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/ |
D | ReflectionHelpers.java | 113 Field field = traversalClass.getDeclaredField(fieldName); 135 Field field = traversalClass.getDeclaredField(fieldName); 156 Field field = type.getDeclaredField(fieldName); 191 return getStaticField(clazz.getDeclaredField(fieldName)); 221 setStaticField(clazz.getDeclaredField(fieldName), fieldNewValue); 429 return Field.class.getDeclaredField("modifiers");
|
/external/guava/guava/src/com/google/common/hash/ |
D | Striped64.java | 118 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); 277 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base")); 278 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | Striped64.java | 118 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); 277 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base")); 278 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | Striped64.java | 118 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); 277 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base")); 278 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
|
/external/guava/guava/src/com/google/common/cache/ |
D | Striped64.java | 118 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); 277 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base")); 278 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
|
/external/gson/gson/src/test/java/com/google/gson/ |
D | FieldNamingPolicyTest.java | 74 Field field = Dummy.class.getDeclaredField("i"); in testUpperCasingLocaleIndependent() 111 Field field = Dummy.class.getDeclaredField("I"); in testLowerCasingLocaleIndependent()
|
/external/guice/core/test/com/google/inject/multibindings/ |
D | ProvidesIntoTest.java | 227 field = ProvidesIntoTest.class.getDeclaredField("wrappedKey1Holder"); in wrappedKeyFor() 230 field = ProvidesIntoTest.class.getDeclaredField("wrappedKey2Holder"); in wrappedKeyFor() 300 field = ProvidesIntoTest.class.getDeclaredField("arrayWrappedKeyHolder12"); in arrayWrappedKeyFor() 303 field = ProvidesIntoTest.class.getDeclaredField("arrayWrappedKeyHolder34"); in arrayWrappedKeyFor()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ProxyMaker.java | 34 Field unsafeField = UNSAFE_CLASS.getDeclaredField("theUnsafe"); 71 Field trustedLookupField = LOOKUP_CLASS.getDeclaredField("IMPL_LOOKUP"); in getTrustedLookup() 132 final Field field = proxyClass.getDeclaredField(TARGET_FIELD); in createProxyFactory()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | OpenSSLX509CertificateTest.java | 43 Field targetUID = ZpenSSLX509Certificate.class.getDeclaredField("serialVersionUID"); in testSerialization_NoContextDeserialization() 50 modifiersField = Field.class.getDeclaredField("modifiers"); in testSerialization_NoContextDeserialization()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | OpenSSLX509CertificateTest.java | 47 Field targetUID = ZpenSSLX509Certificate.class.getDeclaredField("serialVersionUID"); in testSerialization_NoContextDeserialization() 54 modifiersField = Field.class.getDeclaredField("modifiers"); in testSerialization_NoContextDeserialization()
|
/external/robolectric-shadows/shadowapi/src/test/java/org/robolectric/util/ |
D | ReflectionHelpersTest.java | 74 Field field = ExampleDescendant.class.getDeclaredField("DESCENDANT"); in getStaticFieldReflectively_withField_getsStaticField() 88 Field field = ExampleBase.class.getDeclaredField("BASE"); in getFinalStaticFieldReflectively_withField_getsStaticField() 101 Field field = ExampleDescendant.class.getDeclaredField("DESCENDANT"); in setStaticFieldReflectively_withField_setsStaticFields()
|
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ProxyMaker.java | 50 Field unsafeField = UNSAFE_CLASS.getDeclaredField("theUnsafe"); 87 Field trustedLookupField = LOOKUP_CLASS.getDeclaredField("IMPL_LOOKUP"); in getTrustedLookup() 174 final Field field = proxyClass.getDeclaredField(TARGET_FIELD); in createProxyFactory()
|
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/ |
D | OldPropertiesTestCase.java | 90 Field loggerField = DeprecationAwareExtProperties.class.getDeclaredField("logger"); in testOldProperties() 149 Field loggerField = DeprecationAwareExtProperties.class.getDeclaredField("logger"); in testNewProperties()
|
/external/robolectric/shadowapi/src/test/java/org/robolectric/util/ |
D | ReflectionHelpersTest.java | 75 Field field = ExampleDescendant.class.getDeclaredField("DESCENDANT"); in getStaticFieldReflectively_withField_getsStaticField() 89 Field field = ExampleBase.class.getDeclaredField("BASE"); in getFinalStaticFieldReflectively_withField_getsStaticField() 102 Field field = ExampleDescendant.class.getDeclaredField("DESCENDANT"); in setStaticFieldReflectively_withField_setsStaticFields()
|