/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | SerializableMethod.java | 23 private final boolean isVarArgs; field in SerializableMethod 35 isVarArgs = method.isVarArgs(); in SerializableMethod() 55 public boolean isVarArgs() { in isVarArgs() method in SerializableMethod 56 return isVarArgs; in isVarArgs()
|
D | ArgumentsProcessor.java | 20 public static Object[] expandVarArgs(final boolean isVarArgs, final Object[] args) { in expandVarArgs() argument 21 …if (!isVarArgs || isNullOrEmpty(args) || args[args.length - 1] != null && !args[args.length - 1].g… in expandVarArgs()
|
D | MockitoMethod.java | 19 boolean isVarArgs(); in isVarArgs() method
|
D | InvocationImpl.java | 48 this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), args); in InvocationImpl()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliMethodTest.java | 180 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod() 181 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod() 182 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod() 183 Assert.assertTrue(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod() 186 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod() 187 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod() 188 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod() 189 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Invokable.java | 83 public abstract boolean isVarArgs(); in isVarArgs() method in Invokable 225 @Override public final boolean isVarArgs() { in isVarArgs() method in Invokable.MethodInvokable 226 return method.isVarArgs(); in isVarArgs() 306 @Override public final boolean isVarArgs() { in isVarArgs() method in Invokable.ConstructorInvokable 307 return constructor.isVarArgs(); in isVarArgs()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | ReturnsArgumentAt.java | 93 return method.isVarArgs() in wantedArgIndexIsVarargAndSameTypeAsReturnType() 102 if (!invocation.getMethod().isVarArgs()) { in wantedArgumentPositionIsValidForInvocation() 112 if (!invocation.getMethod().isVarArgs()) { in inferWantedArgumentType()
|
/external/easymock/src/org/easymock/internal/ |
D | Invocation.java | 45 this.arguments = expandVarArgs(method.isVarArgs(), args); in Invocation() 48 private static Object[] expandVarArgs(final boolean isVarArgs, in expandVarArgs() argument 50 if (!isVarArgs) { in expandVarArgs() 127 if (method.isVarArgs()) { in isPrimitiveParameter()
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | DelegatingMethod.java | 41 public boolean isVarArgs() { in isVarArgs() method in DelegatingMethod 42 return method.isVarArgs(); in isVarArgs()
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | SerializableMethodTest.java | 49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); in shouldBeAbleToCheckIsArgVargs()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 254 assertFalse(delegate.isVarArgs()); in testPrivateInstanceMethod_isOverridable() 262 assertFalse(delegate.isVarArgs()); in testPrivateFinalInstanceMethod_isOverridable() 269 assertFalse(delegate.isVarArgs()); in testStaticMethod_isOverridable() 277 assertFalse(delegate.isVarArgs()); in testStaticFinalMethod_isFinal() 285 assertFalse(delegate.isVarArgs()); in testConstructor_isOverridablel() 290 assertTrue(delegate.isVarArgs()); in testMethod_isVarArgs() 295 assertTrue(delegate.isVarArgs()); in testConstructor_isVarArgs() 317 assertFalse(delegate.isVarArgs()); in testNonFinalMethodInFinalClass_isOverridable()
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | InvocationHandlerAdapter.java | 104 public boolean isVarArgs() { in isVarArgs() method in InvocationHandlerAdapter.ProxiedMethod 105 return method.isVarArgs(); in isVarArgs()
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | AbstractMethodInfo.java | 28 public boolean isVarArgs(); in isVarArgs() method
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliMethodParameter.java | 64 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethodParameter 65 if (getType().getArrayDimensions() == 0 || !getParentMethod().isVarArgs()) { in isVarArgs()
|
D | SmaliMethod.java | 188 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethod
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | InterceptedInvocation.java | 48 this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), arguments); in InterceptedInvocation()
|
/external/doclava/src/com/google/doclava/ |
D | Converter.java | 294 boolean isVarArg = (m.isVarArgs() && i == len - 1); in convertParameters() 471 result.setVarargs(m.isVarArgs()); 493 result.setVarargs(m.isVarArgs()); 521 result.setVarargs(m.isVarArgs());
|
D | MethodInfo.java | 388 if (i == (mParameters.size()-1) && isVarArgs()) { in getHashableName() 637 new ParameterInfo[mParameters.size()]), isVarArgs(), typeVariables(), typeMapping); in makeHDF() 713 public boolean isVarArgs() { in isVarArgs() method in MethodInfo
|
D | Stubs.java | 1887 if (isLast && method.isVarArgs()) { in fullParameterTypeName()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/ |
D | SmalideaMethod.java | 123 if (psiMethod.isVarArgs()) {
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 745 if (invocation.getMethod().isVarArgs() && i == parameterTypesLength - 1) { in possibleArgumentTypesOf()
|
/external/testng/src/main/java/org/testng/internal/ |
D | Invoker.java | 1226 if (numValues > numParams && ! method.isVarArgs()) { in injectParameters() 1248 if (method.isVarArgs()) vResult.add(parameterValues); in injectParameters()
|