Home
last modified time | relevance | path

Searched refs:getDeclaredField (Results 1 – 25 of 143) sorted by relevance

123456

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DBeanPropertySetterTest.java24 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()
DFieldReaderTest.java24 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()
DFieldInitializerTest.java129 … 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()
DLenientCopyToolTest.java132 Field privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility()
139 privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility()
DAccessibilityChangerTest.java35 return this.getClass().getDeclaredField(fieldName); in field()
/external/guice/core/test/com/google/inject/util/
DTypesTest.java60 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/vogar/src/vogar/target/
DTestEnvironment.java54 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/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/
DReflectionHelpers.java113 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);
416 Field modifiersField = Field.class.getDeclaredField("modifiers");
/external/guava/guava/src/com/google/common/hash/
DStriped64.java116 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
275 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
276 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
/external/guava/android/guava/src/com/google/common/hash/
DStriped64.java116 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
275 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
276 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
/external/guava/android/guava/src/com/google/common/cache/
DStriped64.java116 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
275 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
276 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
/external/guava/guava/src/com/google/common/cache/
DStriped64.java116 valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
275 baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
276 busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DAppIntroActivity.kt77 … val scrollerField = androidx.viewpager.widget.ViewPager::class.java.getDeclaredField("mScroller") in <lambda>()
79 …val interpolator = androidx.viewpager.widget.ViewPager::class.java.getDeclaredField("sInterpolator… in <lambda>()
/external/guice/core/test/com/google/inject/multibindings/
DProvidesIntoTest.java227 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/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLX509CertificateTest.java47 Field targetUID = ZpenSSLX509Certificate.class.getDeclaredField("serialVersionUID"); in testSerialization_NoContextDeserialization()
54 modifiersField = Field.class.getDeclaredField("modifiers"); in testSerialization_NoContextDeserialization()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLX509CertificateTest.java43 Field targetUID = ZpenSSLX509Certificate.class.getDeclaredField("serialVersionUID"); in testSerialization_NoContextDeserialization()
50 modifiersField = Field.class.getDeclaredField("modifiers"); in testSerialization_NoContextDeserialization()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DCompiler.java29 Compiler.class.getDeclaredField("$SWITCH_TABLE$" in isJDK()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DProxyMaker.java23 Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
80 final Field field = proxyClass.getDeclaredField(TARGET_FIELD); in createProxyFactory()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java78 Member field = Obj.class.getDeclaredField("field"); in testGetMemberName_field()
99 Key.get(String.class, Obj.class.getDeclaredField("field").getDeclaredAnnotations()[0]); in testGetAnnotationName_annotationInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java650 getter = NumberFormat.class.getDeclaredField("groupingUsed"); in readObject()
653 getter = NumberFormat.class.getDeclaredField("parseIntegerOnly"); in readObject()
656 getter = NumberFormat.class.getDeclaredField("maximumIntegerDigits"); in readObject()
659 getter = NumberFormat.class.getDeclaredField("minimumIntegerDigits"); in readObject()
662 getter = NumberFormat.class.getDeclaredField("maximumFractionDigits"); in readObject()
665 getter = NumberFormat.class.getDeclaredField("minimumFractionDigits"); in readObject()
668 getter = NumberFormat.class.getDeclaredField("currency"); in readObject()
671 getter = NumberFormat.class.getDeclaredField("parseStrict"); in readObject()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java663 getter = NumberFormat.class.getDeclaredField("groupingUsed"); in readObject()
666 getter = NumberFormat.class.getDeclaredField("parseIntegerOnly"); in readObject()
669 getter = NumberFormat.class.getDeclaredField("maximumIntegerDigits"); in readObject()
672 getter = NumberFormat.class.getDeclaredField("minimumIntegerDigits"); in readObject()
675 getter = NumberFormat.class.getDeclaredField("maximumFractionDigits"); in readObject()
678 getter = NumberFormat.class.getDeclaredField("minimumFractionDigits"); in readObject()
681 getter = NumberFormat.class.getDeclaredField("currency"); in readObject()
684 getter = NumberFormat.class.getDeclaredField("parseStrict"); in readObject()
/external/testng/src/test/java/test/multiplelisteners/
DSimpleReporter.java24 final Field field = SuiteRunner.class.getDeclaredField("m_configuration"); in generateReport()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java48 Field field = File.class.getDeclaredField("separator"); in tearDown()
147 Field field = File.class.getDeclaredField("separator"); in setFileSeparator()
/external/mockito/src/test/java/org/mockito/internal/configuration/injection/
DConstructorInjectionTest.java50 return this.getClass().getDeclaredField(fieldName); in field()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DThreadSafetyTest.java21 Field field = InstrumentedThread.class.getDeclaredField("shadowFromOtherThread"); in shadowCreationShouldBeThreadsafe()

123456