/external/objenesis/main/src/main/java/org/objenesis/ |
D | ObjenesisBase.java | 18 import org.objenesis.instantiator.ObjectInstantiator; 35 protected ConcurrentHashMap<String, ObjectInstantiator<?>> cache; 57 this.cache = useCache ? new ConcurrentHashMap<String, ObjectInstantiator<?>>() : null; in ObjenesisBase() 85 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() 92 ObjectInstantiator<?> instantiator = cache.get(clazz.getName()); in getInstantiatorOf() 94 ObjectInstantiator<?> newInstantiator = strategy.newInstantiatorOf(clazz); in getInstantiatorOf() 100 return (ObjectInstantiator<T>) instantiator; in getInstantiatorOf()
|
D | ObjenesisHelper.java | 20 import org.objenesis.instantiator.ObjectInstantiator; 68 public static <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() 81 …public static <T extends Serializable> ObjectInstantiator<T> getSerializableObjectInstantiatorOf(C… in getSerializableObjectInstantiatorOf()
|
D | Objenesis.java | 18 import org.objenesis.instantiator.ObjectInstantiator; 45 <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz); in getInstantiatorOf()
|
/external/objenesis/main/src/main/java/org/objenesis/strategy/ |
D | SingleInstantiatorStrategy.java | 19 import org.objenesis.instantiator.ObjectInstantiator; 41 public <T extends ObjectInstantiator<?>> SingleInstantiatorStrategy(Class<T> instantiator) { in SingleInstantiatorStrategy() 59 public <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type) { in newInstantiatorOf() 61 return (ObjectInstantiator<T>) constructor.newInstance(type); in newInstantiatorOf()
|
D | InstantiatorStrategy.java | 18 import org.objenesis.instantiator.ObjectInstantiator; 34 <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type); in newInstantiatorOf()
|
D | SerializingInstantiatorStrategy.java | 19 import org.objenesis.instantiator.ObjectInstantiator; 56 public <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type) { in newInstantiatorOf()
|
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
D | SearchWorkingInstantiator.java | 18 import org.objenesis.instantiator.ObjectInstantiator; 51 …SortedSet<String> classes = ClassEnumerator.getClassesForPackage(ObjectInstantiator.class.getPacka… in searchForInstantiator() 70 if(c.isInterface() || !ObjectInstantiator.class.isAssignableFrom(c)) { in searchForInstantiator() 82 ObjectInstantiator<?> instantiator = in searchForInstantiator() 83 (ObjectInstantiator<?>) constructor.newInstance(toInstantiate); in searchForInstantiator()
|
/external/objenesis/main/src/test/java/org/objenesis/instantiator/sun/ |
D | MagicInstantiatorTest.java | 21 import org.objenesis.instantiator.ObjectInstantiator; 42 ObjectInstantiator<EmptyClass> o1 = new MagicInstantiator<EmptyClass>(EmptyClass.class); in testNewInstance() 45 ObjectInstantiator<EmptyClass> o2 = new MagicInstantiator<EmptyClass>(EmptyClass.class); in testNewInstance() 51 …ObjectInstantiator<EmptyClass> o1 = new MagicInstantiator<EmptyClass>(EmptyClass.class).getInstant… in testInternalInstantiator()
|
/external/objenesis/main/src/test/java/org/objenesis/ |
D | ObjenesisTest.java | 21 import org.objenesis.instantiator.ObjectInstantiator; 61 ObjectInstantiator<?> i1 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf() 66 ObjectInstantiator<?> i2 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf() 87 public <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type) { in newInstantiatorOf()
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/ |
D | MagicInstantiator.java | 23 import org.objenesis.instantiator.ObjectInstantiator; 38 public class MagicInstantiator<T> implements ObjectInstantiator<T> { 69 private ObjectInstantiator<T> instantiator; 84 public ObjectInstantiator<T> getInstantiator() { in getInstantiator() 88 private <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type) { in newInstantiatorOf() 92 Class<ObjectInstantiator<T>> clazz = getExistingClass(getClass().getClassLoader(), className); in newInstantiatorOf() 175 in.writeUTF(ObjectInstantiator.class.getName().replace('.', '/')); in writeExtendingClass()
|
D | SunReflectionFactoryInstantiator.java | 21 import org.objenesis.instantiator.ObjectInstantiator; 35 public class SunReflectionFactoryInstantiator<T> implements ObjectInstantiator<T> {
|
D | SunReflectionFactorySerializationInstantiator.java | 22 import org.objenesis.instantiator.ObjectInstantiator; 38 public class SunReflectionFactorySerializationInstantiator<T> implements ObjectInstantiator<T> {
|
D | UnsafeFactoryInstantiator.java | 19 import org.objenesis.instantiator.ObjectInstantiator; 37 public class UnsafeFactoryInstantiator<T> implements ObjectInstantiator<T> {
|
/external/objenesis/tck/src/test/java/org/objenesis/tck/ |
D | TCKTest.java | 24 import org.objenesis.instantiator.ObjectInstantiator; 37 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() 47 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf() 112 public <T> ObjectInstantiator<T> getInstantiatorOf(Class<T> clazz) { in getInstantiatorOf()
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/ |
D | NullInstantiator.java | 18 import org.objenesis.instantiator.ObjectInstantiator; 28 public class NullInstantiator<T> implements ObjectInstantiator<T> {
|
D | FailingInstantiator.java | 19 import org.objenesis.instantiator.ObjectInstantiator; 29 public class FailingInstantiator<T> implements ObjectInstantiator<T> {
|
D | NewInstanceInstantiator.java | 19 import org.objenesis.instantiator.ObjectInstantiator; 31 public class NewInstanceInstantiator<T> implements ObjectInstantiator<T> {
|
D | ConstructorInstantiator.java | 21 import org.objenesis.instantiator.ObjectInstantiator; 34 public class ConstructorInstantiator<T> implements ObjectInstantiator<T> {
|
D | ObjectStreamClassInstantiator.java | 22 import org.objenesis.instantiator.ObjectInstantiator; 37 public class ObjectStreamClassInstantiator<T> implements ObjectInstantiator<T> {
|
/external/objenesis/main/src/test/java/org/objenesis/instantiator/basic/ |
D | ProxyingInstantiatorTest.java | 21 import org.objenesis.instantiator.ObjectInstantiator; 33 ObjectInstantiator<EmptyClass> inst = new ProxyingInstantiator<EmptyClass>(EmptyClass.class); in testNewInstance()
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/gcj/ |
D | GCJInstantiatorBase.java | 23 import org.objenesis.instantiator.ObjectInstantiator; 32 public abstract class GCJInstantiatorBase<T> implements ObjectInstantiator<T> {
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/perc/ |
D | PercInstantiator.java | 22 import org.objenesis.instantiator.ObjectInstantiator; 35 public class PercInstantiator<T> implements ObjectInstantiator<T> {
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/android/ |
D | Android10Instantiator.java | 22 import org.objenesis.instantiator.ObjectInstantiator; 34 public class Android10Instantiator<T> implements ObjectInstantiator<T> {
|
D | AndroidSerializationInstantiator.java | 23 import org.objenesis.instantiator.ObjectInstantiator; 35 public class AndroidSerializationInstantiator<T> implements ObjectInstantiator<T> {
|
D | Android17Instantiator.java | 23 import org.objenesis.instantiator.ObjectInstantiator; 34 public class Android17Instantiator<T> implements ObjectInstantiator<T> {
|