OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:newinstance
(Results
51 - 75
of
2106
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
MalformedParameterizedTypeExceptionTests.java
18
assertNotNull(ctor.
newInstance
());
/art/test/045-reflect-array/src/
Main.java
27
intArray = Array.
newInstance
(Integer.TYPE, 2);
66
intArray = Array.
newInstance
(Integer.TYPE, 0);
73
Object charArray = Array.
newInstance
(Character.TYPE, 7);
126
Object shortArray = Array.
newInstance
(Short.TYPE, 1);
138
Object longArray = Array.
newInstance
(Long.TYPE, 2);
165
strArray = Array.
newInstance
(String.class, 2);
199
intIntIntArray = Array.
newInstance
(Integer.TYPE, dimensions);
218
strStrStrArray = Array.
newInstance
(String.class, dimensions);
246
strStrStrArray = Array.
newInstance
(String[].class, dimensions2);
261
Object arrayOfAbstractClasses = Array.
newInstance
(Number.class, 1)
[
all
...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
KeyFactory.java
32
* single method named <code>
newInstance
</code>, which returns an
38
* public Object
newInstance
(int i, String s);
42
* the <code>
newInstance
</code> method defined by your interface.
45
* Object key1 = factory.
newInstance
(4, "Hello");
46
* Object key2 = factory.
newInstance
(4, "World");
157
return ReflectUtils.
newInstance
(type);
167
Method
newInstance
= ReflectUtils.findNewInstance(keyInterface);
168
if (!
newInstance
.getReturnType().equals(Object.class)) {
169
throw new IllegalArgumentException("
newInstance
method must return Object");
172
Type[] parameterTypes = TypeUtils.getTypes(
newInstance
.getParameterTypes())
[
all
...]
MethodWrapper.java
27
public Object
newInstance
(String name, String[] parameterTypes, String returnType);
34
return KEY_FACTORY.
newInstance
(method.getName(),
/dalvik/dx/tests/125-main-dex-list/com/android/dx/multidex/
MainDexListTest.java
29
.
newInstance
("out/classes.dex", MainDexListTest.class.getClassLoader());
32
.
newInstance
("out/classes2.dex", MainDexListTest.class.getClassLoader());
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
MainActivity.java
45
.replace(R.id.container, SetupProfileFragment.
newInstance
())
51
.add(R.id.container, BasicManagedProfileFragment.
newInstance
())
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
MainActivity.java
45
.replace(R.id.container, SetupProfileFragment.
newInstance
())
51
.add(R.id.container, BasicManagedProfileFragment.
newInstance
())
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
MainActivity.java
45
.replace(R.id.container, SetupProfileFragment.
newInstance
())
51
.add(R.id.container, BasicManagedProfileFragment.
newInstance
())
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DelegatedData.java
46
protected DelegatedData
newInstance
(Data newDelegate) {
118
return
newInstance
(getDelegate().getRoot());
123
return
newInstance
(getDelegate().getParent());
138
return
newInstance
(getDelegate().getNextSibling());
162
return
newInstance
(iterator.next());
197
return
newInstance
(getDelegate().getChild(path));
202
return
newInstance
(getDelegate().createChild(path));
229
return
newInstance
(getDelegate().getSymlink());
/external/junit/src/org/junit/internal/builders/
AnnotatedBuilder.java
31
return runnerClass.getConstructor(Class.class).
newInstance
(
36
RunnerBuilder.class).
newInstance
(
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
MulticastDelegate.java
39
MulticastDelegate copy =
newInstance
();
49
MulticastDelegate copy =
newInstance
();
59
abstract public MulticastDelegate
newInstance
();
72
new Signature("
newInstance
", MULTICAST_DELEGATE, new Type[0]);
112
//
newInstance
164
return ((MulticastDelegate)ReflectUtils.
newInstance
(type)).
newInstance
();
168
return ((MulticastDelegate)instance).
newInstance
();
/external/objenesis/main/src/org/objenesis/
Objenesis.java
33
Object
newInstance
(Class clazz);
38
* ObjectInstantiator than calling {@link #
newInstance
(Class)}.
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
TestCrimson.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
41
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestCrimsonAltConfig.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
41
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestGNUJAXP.java
37
loadClass("gnu.xml.dom.JAXPFactory").
newInstance
();
44
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestGNUJAXPAltConfig.java
36
loadClass("gnu.xml.dom.JAXPFactory").
newInstance
();
42
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestOracle.java
36
loadClass("oracle.xml.jaxp.JXDocumentBuilderFactory").
newInstance
();
43
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestOracleAltConfig.java
36
loadClass("oracle.xml.jaxp.JXDocumentBuilderFactory").
newInstance
();
42
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestXerces.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
42
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestXercesAltConfig.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
41
Object test = testConstructor.
newInstance
(new Object[] { factory });
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
TestCrimson.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
41
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestCrimsonAltConfig.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
41
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestGNUJAXP.java
37
loadClass("gnu.xml.dom.JAXPFactory").
newInstance
();
44
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestGNUJAXPAltConfig.java
36
loadClass("gnu.xml.dom.JAXPFactory").
newInstance
();
42
Object test = testConstructor.
newInstance
(new Object[] { factory });
TestXerces.java
35
ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").
newInstance
();
42
Object test = testConstructor.
newInstance
(new Object[] { factory });
Completed in 799 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>