Home
last modified time | relevance | path

Searched refs:getInstantiatorOf (Results 1 – 7 of 7) sorted by relevance

/external/objenesis/main/src/test/java/org/objenesis/
DObjenesisTest.java49 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass()); in testObjenesis_WithoutCache()
61 ObjectInstantiator<?> i1 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
66 ObjectInstantiator<?> i2 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
74 o.getInstantiatorOf(long.class); in testGetInstantiatorOf_primitive()
/external/objenesis/main/src/main/java/org/objenesis/
DObjenesisHelper.java68 public static <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() method in ObjenesisHelper
69 return OBJENESIS_STD.getInstantiatorOf(clazz); in getInstantiatorOf()
82 return OBJENESIS_SERIALIZER.getInstantiatorOf(clazz); in getSerializableObjectInstantiatorOf()
DObjenesisBase.java73 return getInstantiatorOf(clazz).newInstance(); in newInstance()
85 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() method in ObjenesisBase
DObjenesis.java45 <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz); in getInstantiatorOf() method
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DTCKTest.java37 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() method in TCKTest.StubbedInstantiator1
47 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() method in TCKTest.StubbedInstantiator2
112 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() method in TCKTest.SelectiveInstantiator
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DTextReporter.java154 String inst = ((Objenesis) o.getValue()).getInstantiatorOf(String.class).getClass() in printResult()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoaders.java149 … ObjectInstantiator<Runnable> thingyInstantiator = objenesis.getInstantiatorOf(taskClassReloaded); in reloadTaskInClassLoader()