Searched refs:newInstance (Results 1 - 25 of 429) sorted by relevance

1234567891011>>

/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DParserFactory.java27 Parser newInstance(); method in interface:ParserFactory
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
H A DClassTransformerFactory.java19 ClassTransformer newInstance(); method in interface:ClassTransformerFactory
/external/objenesis/main/src/org/objenesis/instantiator/
H A DNullInstantiator.java28 public Object newInstance() { method in class:NullInstantiator
H A DObjectInstantiator.java31 Object newInstance(); method in interface:ObjectInstantiator
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DFactory.java35 Object newInstance(Callback callback); method in interface:Factory
42 Object newInstance(Callback[] callbacks); method in interface:Factory
52 Object newInstance(Class[] types, Object[] args, Callback[] callbacks); method in interface:Factory
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
H A DFastConstructor.java35 public Object newInstance() throws InvocationTargetException { method in class:FastConstructor
36 return fc.newInstance(index, null);
39 public Object newInstance(Object[] args) throws InvocationTargetException { method in class:FastConstructor
40 return fc.newInstance(index, args);
H A DConstructorDelegate.java33 public Object newInstance(String declaring, String iface); method in interface:ConstructorDelegate.ConstructorKey
68 Object key = KEY_FACTORY.newInstance(iface.getName(), targetClass.getName());
79 final Method newInstance = ReflectUtils.findNewInstance(iface);
80 if (!newInstance.getReturnType().isAssignableFrom(targetClass)) {
85 constructor = targetClass.getDeclaredConstructor(newInstance.getParameterTypes());
100 ReflectUtils.getSignature(newInstance),
101 ReflectUtils.getExceptionTypes(newInstance));
112 return ReflectUtils.newInstance(type);
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
H A DUnsafeAllocator.java30 public abstract <T> T newInstance(Class<T> c) throws Exception; method in class:UnsafeAllocator
46 public <T> T newInstance(Class<T> c) throws Exception {
55 // private static native Object newInstance(
59 final Method newInstance = ObjectInputStream.class
60 .getDeclaredMethod("newInstance", Class.class, Class.class);
61 newInstance.setAccessible(true);
65 public <T> T newInstance(Class<T> c) throws Exception {
66 return (T) newInstance.invoke(null, c, Object.class);
75 // private static native Object newInstance(Class<?> instantiationClass, int methodId);
82 final Method newInstance
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DClassesKey.java22 Object newInstance(Object[] array); method in interface:ClassesKey.Key
29 return FACTORY.newInstance(array);
/external/objenesis/main/src/org/objenesis/instantiator/basic/
H A DNewInstanceInstantiator.java22 * The simplest instantiator - simply calls Class.newInstance(). This can deal with default public
36 public Object newInstance() { method in class:NewInstanceInstantiator
38 return type.newInstance();
H A DConstructorInstantiator.java24 * Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
43 public Object newInstance() { method in class:ConstructorInstantiator
45 return constructor.newInstance((Object[]) null);
/external/objenesis/main/src/org/objenesis/
H A DObjenesisHelper.java42 public static Object newInstance(Class clazz) { method in class:ObjenesisHelper
43 return OBJENESIS_STD.newInstance(clazz);
54 return (Serializable) OBJENESIS_SERIALIZER.newInstance(clazz);
60 * ObjectInstantiator than calling {@link #newInstance(Class)}.
H A DObjenesis.java33 Object newInstance(Class clazz); method in interface:Objenesis
38 * ObjectInstantiator than calling {@link #newInstance(Class)}.
/external/apache-http/src/org/apache/http/auth/
H A DAuthSchemeFactory.java49 AuthScheme newInstance(HttpParams params); method in interface:AuthSchemeFactory
/external/apache-http/src/org/apache/http/cookie/
H A DCookieSpecFactory.java49 CookieSpec newInstance(HttpParams params); method in interface:CookieSpecFactory
/external/mockito/src/org/mockito/internal/stubbing/answers/
H A DClonesArguments.java20 Object newInstance = ObjenesisHelper.newInstance(from.getClass());
21 new LenientCopyTool().copyToRealObject(from, newInstance);
22 arguments[i] = newInstance;
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
H A DLog4jLoggerFactory.java61 Logger newInstance = new Logger(name);
62 Logger oldInstance = log4jLoggers.putIfAbsent(name, newInstance);
63 return oldInstance == null ? newInstance : oldInstance;
72 Logger newInstance = loggerFactory.makeNewLoggerInstance(name);
73 Logger oldInstance = log4jLoggers.putIfAbsent(name, newInstance);
74 return oldInstance == null ? newInstance : oldInstance;
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
H A DJDK14LoggerFactory.java64 Logger newInstance = new JDK14LoggerAdapter(julLogger);
65 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance);
66 return oldInstance == null ? newInstance : oldInstance;
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
H A DLog4jLoggerFactory.java65 Logger newInstance = new Log4jLoggerAdapter(log4jLogger);
66 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance);
67 return oldInstance == null ? newInstance : oldInstance;
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
H A DSimpleLoggerFactory.java55 Logger newInstance = new SimpleLogger(name);
56 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance);
57 return oldInstance == null ? newInstance : oldInstance;
/external/objenesis/main/src/org/objenesis/instantiator/sun/
H A DSunReflectionFactoryInstantiator.java43 public Object newInstance() { method in class:SunReflectionFactoryInstantiator
45 return mungedConstructor.newInstance((Object[]) null);
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
H A DUnivariateRealSolverFactory.java32 * SolverFactory factory = UnivariateRealSolverFactory.newInstance();</p>
51 public static UnivariateRealSolverFactory newInstance() { method in class:UnivariateRealSolverFactory
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionManagerFactory.java51 ClientConnectionManager newInstance( method in interface:ClientConnectionManagerFactory
/external/apache-http/src/org/apache/http/impl/auth/
H A DBasicSchemeFactory.java51 public AuthScheme newInstance(final HttpParams params) { method in class:BasicSchemeFactory
H A DDigestSchemeFactory.java51 public AuthScheme newInstance(final HttpParams params) { method in class:DigestSchemeFactory

Completed in 758 milliseconds

1234567891011>>