/external/mockito/src/main/java/org/mockito/internal/creation/instance/ |
D | ConstructorInstantiator.java | 28 private final Object[] constructorArgs; field in ConstructorInstantiator 30 public ConstructorInstantiator(boolean hasOuterClassInstance, Object... constructorArgs) { in ConstructorInstantiator() argument 32 this.constructorArgs = constructorArgs; in ConstructorInstantiator() 36 return withParams(cls, constructorArgs); in newInstance() 81 String[] constructorArgTypes = new String[constructorArgs.length - argPos]; in constructorArgTypes() 82 for (int i = argPos; i < constructorArgs.length; ++i) { in constructorArgTypes() 83 …constructorArgTypes[i - argPos] = constructorArgs[i] == null ? null : constructorArgs[i].getClass(… in constructorArgTypes() 101 if (constructorArgs.length == 0 || (hasOuterClassInstance && constructorArgs.length == 1)) { in constructorArgsString()
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | MockSettingsImpl.java | 41 private Object[] constructorArgs; field in MockSettingsImpl 119 public MockSettings useConstructor(Object... constructorArgs) { in useConstructor() argument 120 Checks.checkNotNull(constructorArgs, in useConstructor() 124 this.constructorArgs = constructorArgs; in useConstructor() 153 return constructorArgs; in getConstructorArgs() 155 List<Object> resultArgs = new ArrayList<Object>(constructorArgs.length + 1); in getConstructorArgs() 157 resultArgs.addAll(Arrays.asList(constructorArgs)); in getConstructorArgs() 158 return resultArgs.toArray(new Object[constructorArgs.length + 1]); in getConstructorArgs()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | PropertyBoxParserImpl.java | 100 Object[] constructorArgs = new Object[param.length]; in createBox() local 104 constructorArgs[i] = userType; in createBox() 107 constructorArgs[i] = type; in createBox() 110 constructorArgs[i] = parent; in createBox() 126 return constructorObject.newInstance(constructorArgs); in createBox()
|
/external/mockito/src/main/java/org/mockito/internal/runners/util/ |
D | RunnerProvider.java | 14 …public InternalRunner newInstance(String runnerClassName, Object ... constructorArgs) throws Excep… in newInstance() argument 27 return (InternalRunner) constructor.newInstance(constructorArgs); in newInstance()
|
/external/mockito/src/main/java/org/mockito/internal/creation/settings/ |
D | CreationSettings.java | 39 private Object[] constructorArgs; field in CreationSettings 58 this.constructorArgs = copy.getConstructorArgs(); in CreationSettings() 146 return constructorArgs; in getConstructorArgs()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | SipStackImpl.java | 563 Class<?>[] constructorArgs = new Class[0]; in SipStackImpl() local 565 .getConstructor(constructorArgs); in SipStackImpl() 592 Class<?>[] constructorArgs = new Class[0]; in SipStackImpl() local 594 .getConstructor(constructorArgs); in SipStackImpl() 628 Class<?>[] constructorArgs = new Class[2]; in SipStackImpl() local 629 constructorArgs[0] = javax.sip.SipStack.class; in SipStackImpl() 630 constructorArgs[1] = String.class; in SipStackImpl() 631 Constructor<?> cons = routerClass.getConstructor(constructorArgs); in SipStackImpl()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExtensionNamespaceSupport.java | 43 Object[] constructorArgs) in ExtensionNamespaceSupport() argument 47 m_args = constructorArgs; in ExtensionNamespaceSupport()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | ParserFactory.java | 52 private static Class[] constructorArgs; field in ParserFactory 58 constructorArgs = new Class[1]; 59 constructorArgs[0] = String.class; 296 cons = parserClass.getConstructor(constructorArgs); in createParser()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | JavaSourceWriter.java | 109 public void startAnonymousClass(String baseClass, JavaExpression... constructorArgs) { in startAnonymousClass() argument 115 for (JavaExpression constructorArg : constructorArgs) { in startAnonymousClass()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 376 Object[] constructorArgs = gatherArgsForConstructor(constructor, creationArgs); in get() 377 Object objectToReturn = constructor.newInstance(constructorArgs); in get()
|