Home
last modified time | relevance | path

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

/external/dexmaker/src/main/java/com/google/dexmaker/stock/
DProxyBuilder.java138 private Class<?>[] constructorArgTypes = new Class[0]; field in ProxyBuilder
191 public ProxyBuilder<T> constructorArgTypes(Class<?>... constructorArgTypes) { in constructorArgTypes() method in ProxyBuilder
192 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()
/external/dexmaker/src/test/java/com/google/dexmaker/stock/
DProxyBuilderTest.java98 .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()