Home
last modified time | relevance | path

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

1234567

/external/testng/src/main/java/org/testng/internal/
DConstructorOrMethod.java26 …return getMethod() != null ? getMethod().getDeclaringClass() : getConstructor().getDeclaringClass(… in getDeclaringClass()
30 return getMethod() != null ? getMethod().getName() : getConstructor().getName(); in getName()
34 …return getMethod() != null ? getMethod().getParameterTypes() : getConstructor().getParameterTypes(… in getParameterTypes()
41 public Constructor getConstructor() { in getConstructor() method in ConstructorOrMethod
49 result = prime * result + ((getConstructor() == null) ? 0 : getConstructor().hashCode()); in hashCode()
63 if (getConstructor() == null) { in equals()
64 if (other.getConstructor() != null) in equals()
66 } else if (!getConstructor().equals(other.getConstructor())) in equals()
DPropertyUtilsFactory.java33 Constructor<?> constructor = propertyUtilsClass.getConstructor(); in newInstance()
DPathUtilsFactory.java33 Constructor<?> constructor = propertyUtilsClass.getConstructor(); in newInstance()
/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/guice/core/src/com/google/inject/internal/
DDefaultConstructionProxyFactory.java56 .getConstructor(constructor); in create()
66 public Constructor<T> getConstructor() { in create() method
96 public Constructor<T> getConstructor() { in create()
DConstructorBindingImpl.java167 builder.add(getConstructor()) in getInternalDependencies()
179 public InjectionPoint getConstructor() { in getConstructor() method in ConstructorBindingImpl
198 .add(getConstructor()) in getDependencies()
215 InjectionPoint constructor = getConstructor(); in applyTo()
217 (Constructor) getConstructor().getMember(), (TypeLiteral) constructor.getDeclaringType())); in applyTo()
/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/v1/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/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java113 ImmutableList.<Member>of(A.class.getConstructor(String.class))); in setUp()
115 ImmutableList.<Member>of(A2.class.getConstructor(Provider.class))); in setUp()
139 InjectionPoint.forConstructor(A.class.getConstructor(String.class)))); in testLinkedAndInstanceBindings()
163 InjectionPoint.forConstructor(A2.class.getConstructor(Provider.class))), in testProviderBindings()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue94/
DChangeRuntimeClassTest.java79 private Construct getConstructor(Node node) { in getConstructor() method in ChangeRuntimeClassTest.MyConstructor.ConstructProxy
92 return getConstructor(node).construct(node); in construct()
/external/robolectric/v1/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/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
DImplicitResolverTest.java57 protected Construct getConstructor(Node node) { in getConstructor() method in ImplicitResolverTest.ConfigurationConstructor
61 return super.getConstructor(node); in getConstructor()
/external/jetty/src/java/org/eclipse/jetty/continuation/
DContinuationSupport.java50 s3cc=s3c.getConstructor(ServletRequest.class);
71 j6cc=j6c.getConstructor(ServletRequest.class, jetty6ContinuationClass);
/external/guice/core/test/com/google/inject/
DBindingTest.java228 final Constructor<D> constructor = D.class.getConstructor(Stage.class); in testToConstructorBinding()
241 final Constructor<C> constructor = C.class.getConstructor(Stage.class, Object.class); in testToConstructorBindingsOnParameterizedTypes()
264 final Constructor constructor = C.class.getConstructor(Stage.class, Object.class); in testToConstructorBindingsFailsOnRawTypes()
284 final Constructor<D> constructor = D.class.getConstructor(Stage.class); in testToConstructorAndMethodInterceptors()
321 final Constructor<F> constructor = F.class.getConstructor(Stage.class); in testToConstructorAndScopes()
355 final Constructor<D> constructor = D.class.getConstructor(Stage.class); in testToConstructorSpiData()
/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/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/apache-http/src/org/apache/commons/logging/
DLogSource.java176 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
194 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
/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/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
DPerlTest.java113 protected Construct getConstructor(Node node) { in getConstructor() method in PerlTest.CustomBeanConstructor
118 return super.getConstructor(node); in getConstructor()
/external/testng/src/main/java/org/testng/junit/
DJUnitMethodFinder.java39 result = cls.getConstructor(parameters); in findConstructor()
115 ctor = cls.getConstructor(new Class[0]); in instantiate()

1234567