Searched refs:constructorArgTypes (Results 1 – 2 of 2) sorted by relevance
140 private Class<?>[] constructorArgTypes = new Class[0]; field in ProxyBuilder193 public ProxyBuilder<T> constructorArgTypes(Class<?>... constructorArgTypes) { in constructorArgTypes() method in ProxyBuilder194 this.constructorArgTypes = constructorArgTypes; in constructorArgTypes()211 check(constructorArgTypes.length == constructorArgValues.length, in build()216 constructor = proxyClass.getConstructor(constructorArgTypes); in build()219 + " with parameter types " + Arrays.toString(constructorArgTypes)); in build()
125 .constructorArgTypes(String.class) in testConstruction_SucceedsIfCorrectArgumentsProvided()452 .constructorArgTypes(Boolean.class) in testHardToConstruct_WorksIfYouSpecifyTheConstructorCorrectly()460 .constructorArgTypes(Boolean.class) in testHardToConstruct_EvenWorksWhenArgsAreAmbiguous()569 .constructorArgTypes(String.class, Boolean.class) in testInvalidConstructorSpecification()674 .constructorArgTypes() in testCachingWithMultipleConstructors()680 .constructorArgTypes(int.class) in testCachingWithMultipleConstructors()688 .constructorArgTypes(Integer.class) in testCachingWithMultipleConstructors()