OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDeclaredConstructor
(Results
1 - 25
of
51
) sorted by null
1
2
3
/external/mockito/src/org/mockito/internal/util/reflection/
Constructors.java
15
return classToMock.
getDeclaredConstructor
();
FieldInitializer.java
177
constructor = field.getType().
getDeclaredConstructor
();
/external/objenesis/main/src/org/objenesis/instantiator/basic/
ConstructorInstantiator.java
36
constructor = type.
getDeclaredConstructor
((Class[]) null);
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
MalformedParameterizedTypeExceptionTests.java
14
.
getDeclaredConstructor
();
TypeVariableTest.java
64
Constructor<?> constructor = clazz.
getDeclaredConstructor
();
115
Constructor<?> constructor = clazz.
getDeclaredConstructor
();
ConstructorTest.java
236
.
getDeclaredConstructor
(cl);
247
.
getDeclaredConstructor
(cl);
415
assertEquals(c2.
getDeclaredConstructor
(new Class[0]),
416
c2.
getDeclaredConstructor
((Class[]) null));
418
// We can get a non-public constructor via
getDeclaredConstructor
...
420
c1.
getDeclaredConstructor
((Class[]) null);
InvocationTargetExceptionTest.java
119
.
getDeclaredConstructor
();
/external/javassist/src/main/javassist/util/proxy/
SecurityActions.java
75
static Constructor
getDeclaredConstructor
(final Class clazz,
80
return clazz.
getDeclaredConstructor
(types);
86
return clazz.
getDeclaredConstructor
(types);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNfcAdapter.java
27
Constructor<NfcAdapter> constructor = NfcAdapter.class.
getDeclaredConstructor
();
ShadowMotionEvent.java
32
Constructor<MotionEvent> constructor = MotionEvent.class.
getDeclaredConstructor
();
/libcore/luni/src/test/java/libcore/java/lang/reflect/
ConstructorTest.java
70
Constructor<?> constructor = ConstructorTestHelper.class.
getDeclaredConstructor
(
ReflectionTest.java
103
Constructor constructorOne = C.class.
getDeclaredConstructor
(A.class);
108
Constructor constructorTwo = C.class.
getDeclaredConstructor
(Map.class, Object.class);
/art/test/042-new-instance/src/
Main.java
98
Constructor cons = c.
getDeclaredConstructor
(new Class<?>[]{Main.class});
109
Constructor cons = c.
getDeclaredConstructor
((Class[]) null);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ConsoleTest.java
52
Console.class.
getDeclaredConstructor
(InputStream.class, OutputStream.class);
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java
98
c = klass.
getDeclaredConstructor
(new Class[] {EasSyncService.class});
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Test.java
99
twoArgsConstructor = declaringClass.
getDeclaredConstructor
(Long.TYPE, Integer.TYPE);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
ConstructorTest.java
114
.
getDeclaredConstructor
(cl);
125
.
getDeclaredConstructor
(cl);
/cts/tools/signature-tools/src/signature/converter/doclet/
DocletFactory.java
100
// c = Messager.class.
getDeclaredConstructor
(Context.class,
104
c = Messager.class.
getDeclaredConstructor
(Context.class,
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
RobolectricInternals.java
28
Constructor<T> defaultConstructor = clazz.
getDeclaredConstructor
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
RobolectricWiringTest.java
93
return implementedClass.
getDeclaredConstructor
(parameterTypes);
AndroidTranslatorTest.java
73
Constructor<ClassWithNoDefaultConstructor> ctor = ClassWithNoDefaultConstructor.class.
getDeclaredConstructor
();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassTest.java
258
* @tests java.lang.Class#
getDeclaredConstructor
(java.lang.Class[])
261
Constructor<TestClass> c = TestClass.class.
getDeclaredConstructor
(new Class[0]);
263
c = TestClass.class.
getDeclaredConstructor
(Object.class);
/cts/tools/signature-tools/test/signature/converter/doclet/
DocletTestConverter.java
161
// c = Messager.class.
getDeclaredConstructor
(Context.class, String.class);
164
c = Messager.class.
getDeclaredConstructor
(Context.class, String.class, PrintWriter.class, PrintWriter.class, PrintWriter.class);
/external/javassist/src/main/javassist/tools/rmi/
StubGenerator.java
245
superclazz.
getDeclaredConstructor
(null);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintFix.java
196
Constructor<? extends LintFix> constructor = clazz.
getDeclaredConstructor
(
Completed in 500 milliseconds
1
2
3