Home
last modified time | relevance | path

Searched refs:isVarArgs (Results 1 – 22 of 22) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java23 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()
DArgumentsProcessor.java20 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()
DMockitoMethod.java19 boolean isVarArgs(); in isVarArgs() method
DInvocationImpl.java48 this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), args); in InvocationImpl()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliMethodTest.java180 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/
DInvokable.java83 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/
DReturnsArgumentAt.java93 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/
DInvocation.java45 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/
DDelegatingMethod.java41 public boolean isVarArgs() { in isVarArgs() method in DelegatingMethod
42 return method.isVarArgs(); in isVarArgs()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DSerializableMethodTest.java49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); in shouldBeAbleToCheckIsArgVargs()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java254 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/
DInvocationHandlerAdapter.java104 public boolean isVarArgs() { in isVarArgs() method in InvocationHandlerAdapter.ProxiedMethod
105 return method.isVarArgs(); in isVarArgs()
/external/doclava/src/com/google/doclava/apicheck/
DAbstractMethodInfo.java28 public boolean isVarArgs(); in isVarArgs() method
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethodParameter.java64 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethodParameter
65 if (getType().getArrayDimensions() == 0 || !getParentMethod().isVarArgs()) { in isVarArgs()
DSmaliMethod.java188 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethod
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DInterceptedInvocation.java48 this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), arguments); in InterceptedInvocation()
/external/doclava/src/com/google/doclava/
DConverter.java294 boolean isVarArg = (m.isVarArgs() && i == len - 1); in convertParameters()
471 result.setVarargs(m.isVarArgs());
493 result.setVarargs(m.isVarArgs());
521 result.setVarargs(m.isVarArgs());
DMethodInfo.java388 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
DStubs.java1887 if (isLast && method.isVarArgs()) { in fullParameterTypeName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaMethod.java123 if (psiMethod.isVarArgs()) {
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java745 if (invocation.getMethod().isVarArgs() && i == parameterTypesLength - 1) { in possibleArgumentTypesOf()
/external/testng/src/main/java/org/testng/internal/
DInvoker.java1226 if (numValues > numParams && ! method.isVarArgs()) { in injectParameters()
1248 if (method.isVarArgs()) vResult.add(parameterValues); in injectParameters()