Home
last modified time | relevance | path

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

1234567

/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java75 if (method.getParameterTypes().length != 0) {
140 if (other.getParameterTypes().length != getParameterTypes().length) {
143 for (int i = 0; i < other.getParameterTypes().length; i++) {
144 if (!other.getParameterTypes()[i].equals(getParameterTypes()[i])) {
175 return getParameterTypes().length == 0 && type instanceof Class<?>
179 private Class<?>[] getParameterTypes() {
180 return method.getParameterTypes();
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistConstructorDeclaration.txt3 Line 78) ctConstructor.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
5 Line 89) ctConstructor.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
9 …Line 93) methodSignature.getParameterTypes() ==> javassist.bytecode.SignatureAttribute.MethodSigna…
11 Line 96) ctConstructor.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistMethodDeclaration.txt13 Line 108) ctMethod.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
15 Line 119) ctMethod.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
19 …Line 123) methodSignature.getParameterTypes() ==> javassist.bytecode.SignatureAttribute.MethodSign…
21 Line 126) ctMethod.getParameterTypes() ==> javassist.CtBehavior.getParameterTypes()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodDeclaration.txt13 Line 94) method.getParameterTypes() ==> java.lang.reflect.Method.getParameterTypes()
16 Line 103) method.getParameterTypes() ==> java.lang.reflect.Method.getParameterTypes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
DBaseMethodProtoReference.java48 return hashCode*31 + getParameterTypes().hashCode(); in hashCode()
56 CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes()); in equals()
65 …ectionUtils.compareAsIterable(Ordering.usingToString(), getParameterTypes(), o.getParameterTypes()… in compareTo()
DBaseMethodReference.java49 return hashCode*31 + getParameterTypes().hashCode(); in hashCode()
59 CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes()); in equals()
72 …ectionUtils.compareAsIterable(Ordering.usingToString(), getParameterTypes(), o.getParameterTypes()… in compareTo()
/external/junit/src/main/java/org/junit/internal/runners/
DTestClass.java76 if (previous.getParameterTypes().length != current.getParameterTypes().length) { in isShadowed()
79 for (int i = 0; i < previous.getParameterTypes().length; i++) { in isShadowed()
80 if (!previous.getParameterTypes()[i].equals(current.getParameterTypes()[i])) { in isShadowed()
/external/mockito/src/main/java/org/mockito/internal/util/
DObjectMethodsGuru.java19 m.getParameterTypes().length == 0 && in isToStringMethod()
26 && method.getParameterTypes().length == 1 in isCompareToMethod()
27 && method.getParameterTypes()[0] == method.getDeclaringClass(); in isCompareToMethod()
/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistConstructorDeclaration.java80 return ctConstructor.getParameterTypes().length; in getNumberOfParams()
91 variadic = i == (ctConstructor.getParameterTypes().length - 1); in getParam()
95 SignatureAttribute.Type signatureType = methodSignature.getParameterTypes()[i]; in getParam()
98 …return new JavassistParameterDeclaration(ctConstructor.getParameterTypes()[i], typeSolver, variadi… in getParam()
DJavassistMethodDeclaration.java119 return ctMethod.getParameterTypes().length; in getNumberOfParams()
130 variadic = i == (ctMethod.getParameterTypes().length - 1); in getParam()
134 SignatureAttribute.Type signatureType = methodSignature.getParameterTypes()[i]; in getParam()
137 … return new JavassistParameterDeclaration(ctMethod.getParameterTypes()[i], typeSolver, variadic); in getParam()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DProtoPool.java56 dexPool.typeListSection.intern(reference.getParameterTypes()); in intern()
61 return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType()); in getShorty()
70 return new TypeListPool.Key<List<? extends CharSequence>>(methodProto.getParameterTypes()); in getParameters()
DPoolMethodProto.java48 public List<? extends CharSequence> getParameterTypes() { in getParameterTypes() method in PoolMethodProto
49 return methodReference.getParameterTypes(); in getParameterTypes()
/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/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DInvocationHandlerAdapter.java72 && method.getParameterTypes().length == 1
73 && method.getParameterTypes()[0] == Object.class;
78 && method.getParameterTypes().length == 0;
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java115 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
124 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
132 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
141 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
151 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
161 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java111 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
120 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
128 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
137 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
147 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
157 Arrays.asList(mockInvocationHandler.lastInvokedMethod.getParameterTypes())); in testMethodInvocationDelegation()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java231 …int argLengths = constructorB.getParameterTypes().length - constructorA.getParameterTypes().length;
242 for (Class<?> aClass : constructor.getParameterTypes()) {
268 … final Object[] args = argResolver.resolveTypeInstances(constructor.getParameterTypes()); in instantiate()
289 if(constructor.getParameterTypes().length == 0) { in checkParameterized()
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DInvocationHandlerAdapter.java44 && method.getParameterTypes().length == 1 in isEqualsMethod()
45 && method.getParameterTypes()[0] == Object.class; in isEqualsMethod()
50 && method.getParameterTypes().length == 0; in isHashCodeMethod()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderProtoPool.java64 methodProto.getParameterTypes(), methodProto.getReturnType())), in internMethodProto()
65 dexBuilder.typeListSection.internTypeList(methodProto.getParameterTypes()), in internMethodProto()
73 methodReference.getParameterTypes(), methodReference.getReturnType())); in internMethodProto()
/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/hamcrest-core/src/main/java/org/hamcrest/internal/
DReflectiveTypeFinder.java58 && method.getParameterTypes().length == expectedNumberOfParameters in canObtainExpectedTypeFrom()
68 return method.getParameterTypes()[typedParameter]; in expectedTypeFrom()
/external/guice/core/test/com/google/inject/
DTypeLiteralTypeResolutionTest.java103 resolver.getParameterTypes(Collection.class.getMethod("add", Object.class))); in testDirectInheritance()
122 assertEquals(MyInteger.class, resolver.getParameterTypes(comparableCompareTo).get(0).getType()); in testRecursiveTypeVariable()
150 Short.class, resolver.getParameterTypes(newHasGenericConstructor).get(0).getType()); in testGenericConstructor()
184 assertEquals(String.class, resolver.getParameterTypes(echo).get(0).getType()); in testRelatedTypeVariables()
224 resolver.getParameterTypes(stringIndexOf); in testUnsupportedQueries()
259 resolver.getParameterTypes(newString); in testUnsupportedQueries()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DTypeSafeMatching.java51 return method.getParameterTypes()[0]; in getArgumentType()
62 if (method.getParameterTypes().length != 1) { in isMatchesMethod()
/external/mockito/src/main/java/org/mockito/internal/creation/
DDelegatingMethod.java20 this.parameterTypes = SuspendMethod.trimSuspendParameterTypes(method.getParameterTypes()); in DelegatingMethod()
35 public Class<?>[] getParameterTypes() { in getParameterTypes() method in DelegatingMethod

1234567