Home
last modified time | relevance | path

Searched refs:getConstructor (Results 1 – 25 of 125) sorted by relevance

12345

/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastClass.java103 public FastConstructor getConstructor(Constructor constructor) { in getConstructor() method in FastClass
115 public FastConstructor getConstructor(Class[] parameterTypes) { in getConstructor() method in FastClass
117 return getConstructor(type.getConstructor(parameterTypes)); in getConstructor()
/external/javassist/src/main/javassist/expr/
DConstructorCall.java58 public CtConstructor getConstructor() throws NotFoundException { in getConstructor() method in ConstructorCall
59 return getCtClass().getConstructor(getSignature()); in getConstructor()
DNewExpr.java112 public CtConstructor getConstructor() throws NotFoundException { in getConstructor() method in NewExpr
116 return getCtClass().getConstructor(desc); in getConstructor()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DRobolectricWiringTest.java38 shadowClass.getConstructor(implementedClass); in verifyClass()
41 shadowClass.getConstructor(); in verifyClass()
90 return implementedClass.getConstructor(parameterTypes); in findConstructor()
/external/junit/src/org/junit/internal/builders/
DAnnotatedBuilder.java31 return runnerClass.getConstructor(Class.class).newInstance( in buildRunner()
35 return runnerClass.getConstructor(Class.class, in buildRunner()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DPreferenceLoader.java132 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class, AttributeSet.class… in constructPreference()
135 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class)).newInstance(conte… in constructPreference()
137 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class, String.class)).new… in constructPreference()
DViewLoader.java214 … Fragment fragment = ((Constructor<? extends Fragment>) clazz.getConstructor()).newInstance(); in constructFragment()
249 …return ((Constructor<? extends View>) clazz.getConstructor(Context.class, AttributeSet.class)).new… in constructView()
252 … return ((Constructor<? extends View>) clazz.getConstructor(Context.class)).newInstance(context); in constructView()
254 …return ((Constructor<? extends View>) clazz.getConstructor(Context.class, String.class)).newInstan… in constructView()
/external/jetty/src/java/org/eclipse/jetty/continuation/
DContinuationSupport.java50 s3cc=s3c.getConstructor(ServletRequest.class);
71 j6cc=j6c.getConstructor(ServletRequest.class, jetty6ContinuationClass);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java87 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execLexer()
181 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execParser()
189 Constructor parConstructor = parser.getConstructor(parArgTypes); in execParser()
326 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execTreeParser()
334 Constructor parConstructor = parser.getConstructor(parArgTypes); in execTreeParser()
379 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes); in execTreeParser()
DgUnitExecutor.java242 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runLexer()
319 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runParser()
327 Constructor parConstructor = parser.getConstructor(parArgTypes); in runParser()
460 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runTreeParser()
468 Constructor parConstructor = parser.getConstructor(parArgTypes); in runTreeParser()
513 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes); in runTreeParser()
/external/apache-http/src/org/apache/commons/logging/
DLogSource.java176 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
194 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
/external/junit/src/org/junit/internal/runners/
DTestClass.java90 public Constructor<?> getConstructor() throws SecurityException, NoSuchMethodException { in getConstructor() method in TestClass
91 return fClass.getConstructor(); in getConstructor()
/external/javassist/src/test/test/javassist/proxy/
DProxySerializationTest.java33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackImpl.java565 .getConstructor(constructorArgs); in SipStackImpl()
594 .getConstructor(constructorArgs); in SipStackImpl()
631 Constructor<?> cons = routerClass.getConstructor(constructorArgs); in SipStackImpl()
763 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
779 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
955 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
/external/objenesis/main/src/org/objenesis/instantiator/sun/
DSunReflectionFactoryInstantiator.java54 return Object.class.getConstructor((Class[]) null); in getJavaLangObjectConstructor()
DSunReflectionFactorySerializationInstantiator.java45 .getConstructor((Class[]) null); in SunReflectionFactorySerializationInstantiator()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DPropertyBoxParserImpl.java121 constructorObject = clazz.getConstructor(constructorArgsClazz); in createBox()
123 constructorObject = clazz.getConstructor(); in createBox()
/external/junit/src/junit/framework/
DTestSuite.java83 return theClass.getConstructor(String.class); in getTestConstructor()
87 return theClass.getConstructor(new Class[0]); in getTestConstructor()
/external/mockito/src/org/mockito/internal/runners/util/
DRunnerProvider.java33 constructor = runnerClass.getConstructor(Class.class.getClass()); in newInstance()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTypeExtensions.cs55 public static ConstructorInfo getConstructor( this Type type, Type[] argumentTypes ) in getConstructor() method in Antlr.Runtime.JavaExtensions.TypeExtensions
/external/objenesis/main/src/org/objenesis/instantiator/jrockit/
DJRockit131Instantiator.java64 javaLangObjectConstructor = Object.class.getConstructor((Class[]) null); in JRockit131Instantiator()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DDroidDrivers.java76 return (DroidDriver) Class.forName(driverClass).getConstructor(Instrumentation.class) in newDriver()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DExtensionNamespaceSupport.java80 con = cl.getConstructor(m_sig); in launch()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBenchmark.java46 Constructor<?> constructor = Class.forName(className).getConstructor(int.class); in setUp()
/external/vogar/src/vogar/target/junit/
DJunit3.java266 return new TestMethod(testClass, method, testClass.getConstructor(), new Object[0]); in create()
270 return new TestMethod(testClass, method, testClass.getConstructor(String.class), in create()

12345