Searched refs:constructorArgTypes (Results 1 – 2 of 2) sorted by relevance
138 private Class<?>[] constructorArgTypes = new Class[0]; field in ProxyBuilder191 public ProxyBuilder<T> constructorArgTypes(Class<?>... constructorArgTypes) { in constructorArgTypes() method in ProxyBuilder192 this.constructorArgTypes = constructorArgTypes; in constructorArgTypes()209 check(constructorArgTypes.length == constructorArgValues.length, in build()214 constructor = proxyClass.getConstructor(constructorArgTypes); in build()217 + " with parameter types " + Arrays.toString(constructorArgTypes)); in build()
98 .constructorArgTypes(String.class) in testConstruction_SucceedsIfCorrectArgumentsProvided()368 .constructorArgTypes(Boolean.class) in testHardToConstruct_WorksIfYouSpecifyTheConstructorCorrectly()375 .constructorArgTypes(Boolean.class) in testHardToConstruct_EvenWorksWhenArgsAreAmbiguous()486 .constructorArgTypes(String.class, Boolean.class) in testInvalidConstructorSpecification()588 .constructorArgTypes() in testCachingWithMultipleConstructors()594 .constructorArgTypes(int.class) in testCachingWithMultipleConstructors()602 .constructorArgTypes(Integer.class) in testCachingWithMultipleConstructors()