Home
last modified time | relevance | path

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

123

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DFieldTest.java29 Field field = getClass().getDeclaredField("MY_LONG"); in testLongFieldReflection()
54 Field valuesField = Thread.State.class.getDeclaredField("$VALUES"); in testSyntheticModifier()
64 Field blockedField = Thread.State.class.getDeclaredField("BLOCKED"); in testEnumValueField()
65 assertTrue(Thread.State.class.getDeclaredField("BLOCKED").isEnumConstant()); in testEnumValueField()
80 Field transientField = ClassWithATransientField.class.getDeclaredField("transientField"); in testTransientModifier()
91 Field transientField = ClassWithATransientField.class.getDeclaredField("transientField"); in testToGenericString()
DClassLoaderReflectionTest.java71 assertEquals(aClass, aListClass.getDeclaredField("field").getType()); in testField()
101 Field bString = fClass.getDeclaredField("bString"); in testFieldGenericType()
103 Field listA = fClass.getDeclaredField("listA"); in testFieldGenericType()
144 Field f1 = B.class.getDeclaredField("field"); in testFieldsOfDifferentClassLoadersAreNotEqual()
145 Field f2 = bClass.getDeclaredField("field"); in testFieldsOfDifferentClassLoadersAreNotEqual()
DReflectionTest.java101 Field fieldOne = C.class.getDeclaredField("fieldOne"); in testFieldToString()
106 Field fieldTwo = C.class.getDeclaredField("fieldTwo"); in testFieldToString()
112 Field fieldThree = C.class.getDeclaredField("fieldThree"); in testFieldToString()
118 Field fieldFour = C.class.getDeclaredField("fieldFour"); in testFieldToString()
125 Field fieldFive = C.class.getDeclaredField("fieldFive"); in testFieldToString()
198 D.class.getDeclaredField("noField"); in testGetDeclaredFieldNotFound()
214 D.class.getDeclaredField(null); in testGetDeclaredFieldNull()
227 D.class.getDeclaredField("fieldOne"); in testGetDeclaredFieldIsNotRecursive()
253 C.class.getDeclaredField("fieldOne"); // public in testGetDeclaredFieldIsAllVisibilities()
254 C.class.getDeclaredField("fieldTwo"); // private in testGetDeclaredFieldIsAllVisibilities()
[all …]
DMissingClassesTest.java64 loadableClass.getDeclaredField("field"); in testGetFieldFails()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java195 (Thread.class.getDeclaredField("threadLocals"));
197 (Thread.class.getDeclaredField("inheritableThreadLocals"));
199 (Thread.class.getDeclaredField("inheritedAccessControlContext"));
253 (Thread.class.getDeclaredField("group")); in createThreadGroup()
255 (ThreadGroup.class.getDeclaredField("parent")); in createThreadGroup()
DSynchronousQueue.java293 (SNode.class.getDeclaredField("match"));
295 (SNode.class.getDeclaredField("next"));
517 (TransferStack.class.getDeclaredField("head"));
585 (QNode.class.getDeclaredField("item"));
587 (QNode.class.getDeclaredField("next"));
827 (TransferQueue.class.getDeclaredField("head"));
829 (TransferQueue.class.getDeclaredField("tail"));
831 (TransferQueue.class.getDeclaredField("cleanMe"));
DFutureTask.java494 (FutureTask.class.getDeclaredField("state"));
496 (FutureTask.class.getDeclaredField("runner"));
498 (FutureTask.class.getDeclaredField("waiters"));
DLinkedTransferQueue.java548 (Node.class.getDeclaredField("item"));
550 (Node.class.getDeclaredField("next"));
552 (Node.class.getDeclaredField("waiter"));
1574 (LinkedTransferQueue.class.getDeclaredField("head"));
1576 (LinkedTransferQueue.class.getDeclaredField("tail"));
1578 (LinkedTransferQueue.class.getDeclaredField("sweepVotes"));
DConcurrentLinkedQueue.java940 (ConcurrentLinkedQueue.class.getDeclaredField("head"));
942 (ConcurrentLinkedQueue.class.getDeclaredField("tail"));
944 (Node.class.getDeclaredField("item"));
946 (Node.class.getDeclaredField("next"));
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java143 (Cell.class.getDeclaredField("value"));
384 (Striped64.class.getDeclaredField("base"));
386 (Striped64.class.getDeclaredField("cellsBusy"));
389 (Thread.class.getDeclaredField("threadLocalRandomProbe"));
DAtomicBoolean.java58 (AtomicBoolean.class.getDeclaredField("value"));
DAtomicInteger.java63 (AtomicInteger.class.getDeclaredField("value"));
DAtomicMarkableReference.java198 (AtomicMarkableReference.class.getDeclaredField("pair"));
DAtomicReference.java58 (AtomicReference.class.getDeclaredField("value"));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericArrayTypeTest.java36 Field field = clazz.getDeclaredField("array"); in testGetGenericComponentType()
56 Field field = clazz.getDeclaredField("array"); in testParameterizedComponentType()
DParameterizedTypeTest.java77 Field field = clazz.getDeclaredField("e"); in testParameterizedMemeber()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java415 (Thread.class.getDeclaredField("parkBlocker"));
417 (Thread.class.getDeclaredField("threadLocalRandomSecondarySeed"));
DStampedLock.java1413 (StampedLock.class.getDeclaredField("state"));
1415 (StampedLock.class.getDeclaredField("whead"));
1417 (StampedLock.class.getDeclaredField("wtail"));
1420 (WNode.class.getDeclaredField("status"));
1422 (WNode.class.getDeclaredField("next"));
1424 (WNode.class.getDeclaredField("cowait"));
1427 (Thread.class.getDeclaredField("parkBlocker"));
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DFieldTest.java89 Field field = c.getDeclaredField(fieldName); in checkDeclaredAnnotation()
125 Field field = c.getDeclaredField(fieldName); in assertGetDeclaredAnnotationsByType()
157 Field field = c.getDeclaredField(fieldName); in assertGetAnnotationsByType()
/libcore/luni/src/test/java/libcore/sun/util/logging/
DPlatformLoggerTest.java48 Field field = PlatformLogger.class.getDeclaredField(levelName); in assertLogLevel()
/libcore/luni/src/test/java/libcore/sun/misc/
DUnsafeTest.java63 Field f = unsafeClass.getDeclaredField("theUnsafe"); in getUnsafe()
/libcore/benchmarks/src/benchmarks/
DReferenceGetBenchmark.java31 Field intrinsicDisabledField = Reference.class.getDeclaredField("disableIntrinsic"); in setUp()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java115 Field field = serCls.getDeclaredField("serialVersionUID"); in assertSerializedBySer()
175 Field field = serClass.getDeclaredField("serialVersionUID"); in assertNotSerializable()
/libcore/benchmarks/src/benchmarks/regression/
DPropertyAccessBenchmark.java34 x = View.class.getDeclaredField("x"); in setUp()
/libcore/ojluni/src/main/java/java/lang/invoke/
DCallSite.java272 TARGET_OFFSET = UNSAFE.objectFieldOffset(CallSite.class.getDeclaredField("target"));

123