Home
last modified time | relevance | path

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

/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java140 private Class<?>[] constructorArgTypes = new Class[0]; field in ProxyBuilder
193 public ProxyBuilder<T> constructorArgTypes(Class<?>... constructorArgTypes) { in constructorArgTypes() method in ProxyBuilder
194 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()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java125 .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()