Home
last modified time | relevance | path

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

12345678910

/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java84 if (method.getParameterTypes().length != 0) {
149 if (other.getParameterTypes().length != getParameterTypes().length) {
152 for (int i = 0; i < other.getParameterTypes().length; i++) {
153 if (!other.getParameterTypes()[i].equals(getParameterTypes()[i])) {
189 return getParameterTypes().length == 0 && type instanceof Class<?>
193 private Class<?>[] getParameterTypes() {
194 return method.getParameterTypes();
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistConstructorDeclaration.java78 return ctConstructor.getParameterTypes().length; in getNumberOfParams()
89 variadic = i == (ctConstructor.getParameterTypes().length - 1); in getParam()
93 SignatureAttribute.Type signatureType = methodSignature.getParameterTypes()[i]; in getParam()
96 …return new JavassistParameterDeclaration(ctConstructor.getParameterTypes()[i], typeSolver, variadi… in getParam()
DJavassistMethodDeclaration.java108 return ctMethod.getParameterTypes().length; in getNumberOfParams()
119 variadic = i == (ctMethod.getParameterTypes().length - 1); in getParam()
123 SignatureAttribute.Type signatureType = methodSignature.getParameterTypes()[i]; in getParam()
126 … return new JavassistParameterDeclaration(ctMethod.getParameterTypes()[i], typeSolver, variadic); in getParam()
/external/guava/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java92 && method.getParameterTypes().length == 1 in testForwarding()
93 && method.getParameterTypes()[0] == Object.class) { in testForwarding()
96 if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { in testForwarding()
99 if (method.getName().equals("toString") && method.getParameterTypes().length == 0) { in testForwarding()
116 methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes()); in getMostConcreteMethods()
179 for (Class<?> paramType : method.getParameterTypes()) { in getParameterValues()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java92 && method.getParameterTypes().length == 1 in testForwarding()
93 && method.getParameterTypes()[0] == Object.class) { in testForwarding()
96 if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { in testForwarding()
99 if (method.getName().equals("toString") && method.getParameterTypes().length == 0) { in testForwarding()
116 methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes()); in getMostConcreteMethods()
179 for (Class<?> paramType : method.getParameterTypes()) { in getParameterValues()
/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/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/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistConstructorDeclaration.java83 return ctConstructor.getParameterTypes().length; in getNumberOfParams()
94 variadic = i == (ctConstructor.getParameterTypes().length - 1); in getParam()
99 SignatureAttribute.Type signatureType = methodSignature.getParameterTypes()[i]; in getParam()
103 …return new JavassistParameterDeclaration(ctConstructor.getParameterTypes()[i], typeSolver, variadi… in getParam()
/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/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/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/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/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/mockito/src/main/java/org/mockito/internal/invocation/
DTypeSafeMatching.java51 return method.getParameterTypes()[0]; in getArgumentType()
62 if (method.getParameterTypes().length != 1) { in isMatchesMethod()

12345678910