Home
last modified time | relevance | path

Searched refs:constructorArgTypes (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java76 private String constructorArgTypes() { in constructorArgTypes() method in ConstructorInstantiator
81 String[] constructorArgTypes = new String[constructorArgs.length - argPos]; in constructorArgTypes() local
83constructorArgTypes[i - argPos] = constructorArgs[i] == null ? null : constructorArgs[i].getClass(… in constructorArgTypes()
85 return Arrays.toString(constructorArgTypes); in constructorArgTypes()
104 … constructorString = "a constructor that matches these argument types: " + constructorArgTypes(); in constructorArgsString()
111 … "Multiple constructors could be matched to arguments of types " + constructorArgTypes() + ":", in multipleMatchingConstructors()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java142 private Class<?>[] constructorArgTypes = new Class[0]; field in ProxyBuilder
201 public ProxyBuilder<T> constructorArgTypes(Class<?>... constructorArgTypes) { in constructorArgTypes() argument
202 this.constructorArgTypes = constructorArgTypes; in constructorArgTypes()
234 check(constructorArgTypes.length == constructorArgValues.length, in build()
239 constructor = proxyClass.getConstructor(constructorArgTypes); in build()
242 + " with parameter types " + Arrays.toString(constructorArgTypes)); in build()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java131 .constructorArgTypes(String.class) in testConstruction_SucceedsIfCorrectArgumentsProvided()
477 .constructorArgTypes(Boolean.class) in testHardToConstruct_WorksIfYouSpecifyTheConstructorCorrectly()
485 .constructorArgTypes(Boolean.class) in testHardToConstruct_EvenWorksWhenArgsAreAmbiguous()
596 .constructorArgTypes(String.class, Boolean.class) in testInvalidConstructorSpecification()
717 .constructorArgTypes() in testCachingWithMultipleConstructors()
723 .constructorArgTypes(int.class) in testCachingWithMultipleConstructors()
731 .constructorArgTypes(Integer.class) in testCachingWithMultipleConstructors()