Home
last modified time | relevance | path

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

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DFieldTest.java91 f = x.getClass().getDeclaredField("shortField"); in test_equalsLjava_lang_Object()
95 .getDeclaredField("shortField"))); in test_equalsLjava_lang_Object()
97 .equals(A.class.getDeclaredField("shortField"))); in test_equalsLjava_lang_Object()
107 Field f = x.getClass().getDeclaredField("doubleField"); in test_getLjava_lang_Object()
113 f = x.getClass().getDeclaredField("doubleSField"); in test_getLjava_lang_Object()
121 f = TestAccess.class.getDeclaredField("xxx"); in test_getLjava_lang_Object()
135 f = x.getClass().getDeclaredField("doubleField"); in test_getLjava_lang_Object()
274 objectField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
277 booleanField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
280 byteField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPair.java43 Field f = Pair.class.getDeclaredField("first"); in setFields()
47 Field s = Pair.class.getDeclaredField("second"); in setFields()
DShadowSyncResult.java19 Field f = SyncResult.class.getDeclaredField("stats"); in __constructor__()
/external/mockito/src/org/mockito/internal/util/reflection/
DWhitebox.java50 return clazz.getDeclaredField(field); in getField()
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DUnsafeAllocator.java39 Field f = unsafeClass.getDeclaredField("theUnsafe"); in create()
DDexmakerMockMaker.java61 Field handlerField = proxyClass.getDeclaredField("$__handler"); in createMock()
/external/guava/guava/src/com/google/common/base/internal/
DFinalizer.java193 = Thread.class.getDeclaredField("inheritableThreadLocals"); in getInheritableThreadLocalsField()
/external/dexmaker/src/main/java/com/google/dexmaker/
DAppDataDirGuesser.java55 Field pathField = pathClassLoaderClass.getDeclaredField("path"); in getPathFromThisClassLoader()
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
DProxyBuilder.java291 Field handlerField = instance.getClass().getDeclaredField(FIELD_NAME_HANDLER); in setHandlerInstanceField()
305 Field methodArrayField = proxyClass.getDeclaredField(FIELD_NAME_METHODS); in setMethodsStaticField()
324 Field field = instance.getClass().getDeclaredField(FIELD_NAME_HANDLER); in getInvocationHandler()
343 c.getDeclaredField(FIELD_NAME_HANDLER); in isProxyClass()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DParamsParser.java70 Field f = obj.getClass().getDeclaredField(name); in getPrivateMember()
/external/littlemock/src/com/google/testing/littlemock/
DAppDataDirGuesser.java66 Field pathField = pathClassLoaderClass.getDeclaredField("path"); in getPathFromPathClassLoader()
DLittleMock.java1278 Field handlerField = resultClass.getDeclaredField("$__handler");
1293 Field f = unsafeClass.getDeclaredField("theUnsafe");
/external/javassist/src/main/javassist/
DCtClass.java723 public CtField getDeclaredField(String name) throws NotFoundException { in getDeclaredField() method in CtClass
739 public CtField getDeclaredField(String name, String desc) throws NotFoundException { in getDeclaredField() method in CtClass
DSerialVersionUID.java42 clazz.getDeclaredField("serialVersionUID"); in setSerialVersionUID()
DCtClassType.java949 public CtField getDeclaredField(String name) throws NotFoundException { in getDeclaredField() method in CtClassType
950 return getDeclaredField(name, null); in getDeclaredField()
953 public CtField getDeclaredField(String name, String desc) throws NotFoundException { in getDeclaredField() method in CtClassType
DCtBehavior.java505 cc.getDeclaredField(fname); in useCflow()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
DClassLoaderLocalMap.java148 return (Map<Object, Object>) holderClass.getDeclaredField("localMap").get(null); in getLocalMap()
/external/guava/guava/src/com/google/common/collect/
DSerialization.java199 Field field = clazz.getDeclaredField(fieldName); in getFieldSetter()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DClassTest.java278 Field f = TestClass.class.getDeclaredField("pubField"); in test_getDeclaredFieldLjava_lang_String()
/external/jmonkeyengine/engine/src/test/jme3test/
DTestChooser.java267 Field contextField = Application.class.getDeclaredField("context");
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java1280 Field field = classWhichContainsField.getDeclaredField(fieldName); in setFinalStaticField()
1283 Field modifiersField = Field.class.getDeclaredField("modifiers"); in setFinalStaticField()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLExceptionTest.java43 Field theField = theClass.getDeclaredField("serialVersionUID"); in testSUID()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java376 Field b = generatedClass.getDeclaredField("b"); in testDeclareStaticFields()
401 Field b = generatedClass.getDeclaredField("b"); in testDeclareInstanceFields()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java143 Field tableField = HashMap.class.getDeclaredField("table"); in sizeOf()