Searched refs:varArgs (Results 1 – 4 of 4) sorted by relevance
26 Object[] varArgs; in expandVarArgs() local29 varArgs = new Object[] { null }; in expandVarArgs()31 varArgs = ArrayEquals.createObjectArray(args[nonVarArgsCount]); in expandVarArgs()33 final int varArgsCount = varArgs.length; in expandVarArgs()36 System.arraycopy(varArgs, 0, newArgs, nonVarArgsCount, varArgsCount); in expandVarArgs()
120 foo.varArgs(""); in shouldVerifyWithAnyObject()121 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithAnyObject()122 Mockito.verify(foo).varArgs((String) Mockito.anyObject()); in shouldVerifyWithAnyObject()128 foo.varArgs((String[]) null); in shouldVerifyWithNullVarArgArray()129 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithNullVarArgArray()130 Mockito.verify(foo).varArgs((String[]) null); in shouldVerifyWithNullVarArgArray()134 public void varArgs(String... args) {} in varArgs() method in UsingVarargsTest.Foo
56 Object[] varArgs = createObjectArray(args[args.length - 1]); in expandVarArgs() local58 final int varArgsCount = varArgs.length; in expandVarArgs()61 System.arraycopy(varArgs, 0, newArgs, nonVarArgsCount, varArgsCount); in expandVarArgs()
65 int varArgs(int i1, ...) { return i1; } in varArgs() function