/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | SandboxClassLoaderTest.java | 115 Constructor<?> ctor = clazz.getDeclaredConstructor(String.class); in shouldDelegateToHandlerForConstructors() 174 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNormalMethodShouldInvokeClassHandler() 188 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in shouldGenerateClassSpecificDirectAccessMethod() 230 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNormalMethodReturningIntegerShouldInvokeClassHandler() 243 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingMethodReturningDoubleShouldInvokeClassHandler() 254 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNativeMethodShouldInvokeClassHandler() 265 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in directlyCallingNativeMethodShouldBeNoOp() 275 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in directlyCallingNativeMethodReturningPrimitiveShouldBeNoOp() 289 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in shouldHandleMethodsReturningBoolean() 303 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in shouldHandleMethodsReturningArray() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | CommonPoolTest.kt | 23 val fjpCtor = Try { fjpClass.getDeclaredConstructor( in testIsGoodCommonPool() 31 val dwtfCtor = Try { dwtfClass.getDeclaredConstructor() } ?: return in testIsGoodCommonPool()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/params/ |
D | ParameterizedRunnerDelegateFactory.java | 40 .getDeclaredConstructor(Class.class, ParameterizedRunnerDelegateCommon.class) in createRunner() 93 parameterProvider = clazz.getDeclaredConstructor().newInstance(); in getParameters()
|
/external/javassist/src/main/javassist/util/proxy/ |
D | SecurityActions.java | 131 static Constructor<?> getDeclaredConstructor(final Class<?> clazz, 136 return clazz.getDeclaredConstructor(types); 142 return clazz.getDeclaredConstructor(types);
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | FastServiceLoader.kt | 79 baseClass.cast(clz.getDeclaredConstructor().newInstance()) in createInstanceOf() 107 return service.cast(clazz.getDeclaredConstructor().newInstance()) in getProviderInstance()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapFieldSchemas.java | 48 return (MapFieldSchema) clazz.getDeclaredConstructor().newInstance(); in loadSchemaForFullRuntime()
|
D | NewInstanceSchemas.java | 48 return (NewInstanceSchema) clazz.getDeclaredConstructor().newInstance(); in loadSchemaForFullRuntime()
|
D | ExtensionSchemas.java | 40 return (ExtensionSchema) clazz.getDeclaredConstructor().newInstance(); in loadSchemaForFullRuntime()
|
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/ |
D | ConstructorInstantiator.java | 40 constructor = type.getDeclaredConstructor((Class[]) null); in ConstructorInstantiator()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProviders.java | 80 return new ThrowingHandler(throwable.getDeclaredConstructor(), throwable.getName()); in forClass() 198 thrownType.getDeclaredConstructor(); in checkThrowable()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/ |
D | GpuDelegateProxy.java | 39 Object instance = clazz.getDeclaredConstructor().newInstance(); in maybeNewInstance()
|
/external/javassist/src/test/ |
D | Test.java | 52 InvalidStackMapFrame obj = (InvalidStackMapFrame)cc.getDeclaredConstructor().newInstance(); in main()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipClassCoverageTest.java | 50 Constructor<ZipConstants> constructor = clazz.getDeclaredConstructor(); in testConstantConstructor()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServiceProvidersTestUtil.java | 76 Constructor<?> ctor = klass.getDeclaredConstructor(); in invokeIteratorCallable()
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/shadow/api/ |
D | Shadow.java | 13 .asSubclass(IShadow.class).getDeclaredConstructor().newInstance();
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | VersionUtil.java | 77 v = ((Versioned) vClass.getDeclaredConstructor().newInstance()).version(); in packageVersionFor()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Parsers.java | 73 final Constructor<T> constr = wrappedResultType.getDeclaredConstructor(String.class); in conventionalParser()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | MockMakerMultiplexer.java | 47 mockMakers.add(mockMakerClass.getDeclaredConstructor().newInstance());
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowChoreographer.java | 42 Choreographer.class.getDeclaredConstructor(Looper.class); in makeThreadLocal()
|
D | ShadowParcelFileDescriptor.java | 48 ParcelFileDescriptor.class.getDeclaredConstructor(FileDescriptor.class); in open()
|
/external/javassist/src/test/testproxy/ |
D | ProxyFactoryPerformanceTest.java | 49 threads[i] = (Thread)cl.getDeclaredConstructor().newInstance(); in callCreateClass()
|
/external/guice/core/test/com/google/inject/ |
D | RequireAtInjectOnConstructorsTest.java | 217 .toConstructor(ManyConstructors.class.getDeclaredConstructor()); in testRequireAtInjectStillAllowsToConstructorBindings()
|
/external/desugar/java/com/google/devtools/common/options/testing/ |
D | ConverterTester.java | 46 return converterClass.getDeclaredConstructor().newInstance(); in createConverter()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/ |
D | HandlerDispatcher.kt | 89 constructor = Handler::class.java.getDeclaredConstructor(Looper::class.java, in createDispatcher()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedConstructor.java | 196 Constructor<?> ctor = clazz.getDeclaredConstructor(_serialization.args); in readResolve()
|