Home
last modified time | relevance | path

Searched refs:getParameterTypes (Results 1 – 25 of 181) sorted by relevance

12345678

/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java68 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/
DObjectMethodsGuru.java23 && 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/
DBaseMethodReference.java48 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/
DFastMethod.java28 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()
DFastConstructor.java24 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/
DTestClass.java71 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/
DBuilderProtoPool.java74 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/
DForwardingWrapperTester.java87 && 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/
DConstructorOrMethod.java33 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/
DDuckTypedPSKKeyManagerTest.java109 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/
DIntrospectionUtil.java47 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/
DDelegatingMethod.java32 public Class<?>[] getParameterTypes() { in getParameterTypes() method in DelegatingMethod
33 return method.getParameterTypes(); in getParameterTypes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java83 return getParameterRegisterCount(methodRef.getParameterTypes(), isStatic); in getParameterRegisterCount()
122 CharSequenceUtils.listEquals(a.getParameterTypes(), b.getParameterTypes())); in methodSignaturesMatch()
/external/hamcrest/library/src/org/hamcrest/
DTypeSafeMatcher.java29 return method.getParameterTypes()[0]; in findExpectedType()
39 && method.getParameterTypes().length == 1 in isMatchesSafelyMethod()
/external/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializer.java217 … 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/
DTypeSafeMatcher.java31 return method.getParameterTypes()[0]; in findExpectedType()
41 && method.getParameterTypes().length == 1 in isMatchesSafelyMethod()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DProtoIdItem.java56 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/
DRobolectricWiringTest.java81 …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/
DProtoPool.java68 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/
DAnnotatedSubscriberFinder.java73 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/
DSmaliMethodReference.java109 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/
DBenchmarkMethods.java43 Class<?>[] parameterTypes = benchmarkMethod.getParameterTypes(); in of()
72 Class<?>[] parameterTypes = timeMethod.getParameterTypes(); in checkTimeMethod()
/external/guice/core/test/com/google/inject/
DTypeLiteralTypeResolutionTest.java102 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/
DMethodReferenceRewriter.java68 @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/
DHashingTest.java426 && 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()

12345678