/external/junit/src/org/junit/runners/model/ |
D | FrameworkMethod.java | 68 if (fMethod.getParameterTypes().length != 0) 102 if (other.getParameterTypes().length != getParameterTypes().length) 104 for (int i= 0; i < other.getParameterTypes().length; i++) 105 if (!other.getParameterTypes()[i].equals(getParameterTypes()[i])) 133 return getParameterTypes().length == 0 && type instanceof Class<?> 137 private Class<?>[] getParameterTypes() { 138 return fMethod.getParameterTypes();
|
/external/mockito/src/org/mockito/internal/util/ |
D | ObjectMethodsGuru.java | 23 && method.getParameterTypes().length == 0 in isToString() 29 && method.getParameterTypes().length == 1 in isEqualsMethod() 30 && method.getParameterTypes()[0] == Object.class; in isEqualsMethod() 35 && method.getParameterTypes().length == 0; in isHashCodeMethod() 41 && method.getParameterTypes().length == 1 in isCompareToMethod() 42 && method.getParameterTypes()[0] == method.getDeclaringClass(); in isCompareToMethod()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/ |
D | BaseMethodReference.java | 48 return hashCode*31 + getParameterTypes().hashCode(); in hashCode() 58 CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes()); in equals() 71 …ectionUtils.compareAsIterable(Ordering.usingToString(), getParameterTypes(), o.getParameterTypes()… in compareTo()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | FastMethod.java | 28 int index = fc.getIndex(method.getName(), method.getParameterTypes()); in helper() 30 Class[] types = method.getParameterTypes(); in helper() 44 public Class[] getParameterTypes() { in getParameterTypes() method in FastMethod 45 return ((Method)member).getParameterTypes(); in getParameterTypes()
|
D | FastConstructor.java | 24 super(fc, constructor, fc.getIndex(constructor.getParameterTypes())); in FastConstructor() 27 public Class[] getParameterTypes() { in getParameterTypes() method in FastConstructor 28 return ((Constructor)member).getParameterTypes(); in getParameterTypes()
|
/external/junit/src/org/junit/internal/runners/ |
D | TestClass.java | 71 if (previous.getParameterTypes().length != current.getParameterTypes().length) in isShadowed() 73 for (int i= 0; i < previous.getParameterTypes().length; i++) { in isShadowed() 74 if (! previous.getParameterTypes()[i].equals(current.getParameterTypes()[i])) in isShadowed()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderProtoPool.java | 74 return internProto(methodReference.getParameterTypes(), methodReference.getReturnType()); in internProto() 109 @Nonnull List<? extends CharSequence> getParameterTypes(); 123 @Nonnull public List<? extends CharSequence> getParameterTypes() { 140 … CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ForwardingWrapperTester.java | 87 && method.getParameterTypes().length == 1 in testForwarding() 88 && method.getParameterTypes()[0] == Object.class) { in testForwarding() 92 && method.getParameterTypes().length == 0) { in testForwarding() 96 && method.getParameterTypes().length == 0) { in testForwarding() 113 methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes()); in getMostConcreteMethods() 169 for (Class<?> paramType : method.getParameterTypes()) { in getParameterValues()
|
/external/testng/src/main/java/org/testng/internal/ |
D | ConstructorOrMethod.java | 33 public Class[] getParameterTypes() { in getParameterTypes() method in ConstructorOrMethod 34 …return getMethod() != null ? getMethod().getParameterTypes() : getConstructor().getParameterTypes(… in getParameterTypes()
|
/external/conscrypt/src/test/java/org/conscrypt/ |
D | DuckTypedPSKKeyManagerTest.java | 109 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation() 118 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation() 126 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation() 135 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation() 145 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation() 155 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | IntrospectionUtil.java | 47 if (method.getParameterTypes().length != 1) in isJavaBeanCompliantSetter() 65 …if (methods[i].getName().equals(methodName) && checkParams(methods[i].getParameterTypes(), (args==… in findMethod() 188 List<Class<?>> parameterTypesA = Arrays.asList(methodA.getParameterTypes()); in isSameSignature() 189 List<Class<?>> parameterTypesB = Arrays.asList(methodB.getParameterTypes()); in isSameSignature() 268 && checkParams(methods[i].getParameterTypes(), args, strictArgs)) in findInheritedMethod()
|
/external/mockito/src/org/mockito/internal/creation/ |
D | DelegatingMethod.java | 32 public Class<?>[] getParameterTypes() { in getParameterTypes() method in DelegatingMethod 33 return method.getParameterTypes(); in getParameterTypes()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | MethodUtil.java | 83 return getParameterRegisterCount(methodRef.getParameterTypes(), isStatic); in getParameterRegisterCount() 122 CharSequenceUtils.listEquals(a.getParameterTypes(), b.getParameterTypes())); in methodSignaturesMatch()
|
/external/hamcrest/library/src/org/hamcrest/ |
D | TypeSafeMatcher.java | 29 return method.getParameterTypes()[0]; in findExpectedType() 39 && method.getParameterTypes().length == 1 in isMatchesSafelyMethod()
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
D | FieldInitializer.java | 217 … return constructorB.getParameterTypes().length - constructorA.getParameterTypes().length; 238 … final Object[] args = argResolver.resolveTypeInstances(constructor.getParameterTypes()); in instantiate() 259 if(constructor.getParameterTypes().length == 0) { in checkParameterized()
|
/external/junit/src/org/junit/internal/matchers/ |
D | TypeSafeMatcher.java | 31 return method.getParameterTypes()[0]; in findExpectedType() 41 && method.getParameterTypes().length == 1 in isMatchesSafelyMethod()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | ProtoIdItem.java | 56 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem() 68 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm() 136 StdTypeList params = prototype.getParameterTypes(); in writeTo()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/ |
D | RobolectricWiringTest.java | 81 …aringClass().getDeclaredMethod(shadowMethod.getName(), shadowMethod.getParameterTypes()).isAnnotat… in isAnnotatedImplementation() 88 Class<?>[] parameterTypes = shadowMethod.getParameterTypes(); in findConstructor() 101 Class<?>[] parameterTypes = shadowMethod.getParameterTypes(); in findMethod()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | ProtoPool.java | 68 typeListPool.intern(method.getParameterTypes()); in intern() 93 return method.getParameterTypes(); in getParameters() 97 return MethodUtil.getShorty(method.getParameterTypes(), method.getReturnType()); in getShorty()
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | AnnotatedSubscriberFinder.java | 73 Class<?>[] parameterTypes = method.getParameterTypes(); in findAllSubscribers() 95 this.parameterTypes = Arrays.asList(method.getParameterTypes()); in MethodIdentifier() 120 Class<?>[] parameterTypes = superClazzMethod.getParameterTypes(); in getAnnotatedMethodsInternal()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliMethodReference.java | 109 public List<PsiType> getParameterTypes() { in getParameterTypes() method in SmaliMethodReference 115 SmaliTypeElement[] parameterElements = paramList.getParameterTypes(); in getParameterTypes() 146 for (PsiType type: getParameterTypes()) { in resolve()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | BenchmarkMethods.java | 43 Class<?>[] parameterTypes = benchmarkMethod.getParameterTypes(); in of() 72 Class<?>[] parameterTypes = timeMethod.getParameterTypes(); in checkTimeMethod()
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 102 resolver.getParameterTypes(Collection.class.getMethod("add", Object.class))); in testDirectInheritance() 118 assertEquals(MyInteger.class, resolver.getParameterTypes(comparableCompareTo).get(0).getType()); in testRecursiveTypeVariable() 144 resolver.getParameterTypes(newHasGenericConstructor).get(0).getType()); in testGenericConstructor() 176 assertEquals(String.class, resolver.getParameterTypes(echo).get(0).getType()); in testRelatedTypeVariables() 211 resolver.getParameterTypes(stringIndexOf); in testUnsupportedQueries() 239 resolver.getParameterTypes(newString); in testUnsupportedQueries()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | MethodReferenceRewriter.java | 68 @Override @Nonnull public List<? extends CharSequence> getParameterTypes() { in getParameterTypes() method in MethodReferenceRewriter.RewrittenMethodReference 70 Lists.transform(methodReference.getParameterTypes(), in getParameterTypes()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingTest.java | 426 && method.getParameterTypes().length == 0) { // only the seed-less grapes^W hash functions in testAllHashFunctionsHaveKnownHashes() 494 && method.getParameterTypes().length == 0) { // only the seed-less hash functions in assertSeedlessHashFunctionEquals() 515 && method.getParameterTypes().length != 0 // only the seeded hash functions in assertSeededHashFunctionEquals() 517 Object[] params1 = new Object[method.getParameterTypes().length]; in assertSeededHashFunctionEquals() 518 Object[] params2 = new Object[method.getParameterTypes().length]; in assertSeededHashFunctionEquals() 520 if (method.getParameterTypes()[i] == int.class) { in assertSeededHashFunctionEquals() 523 } else if (method.getParameterTypes()[i] == long.class) { in assertSeededHashFunctionEquals() 527 fail("Unable to create a random parameter for " + method.getParameterTypes()[i]); in assertSeededHashFunctionEquals()
|