/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | ParameterMatcher.java | 32 private final List<String> parameterTypes; field in ParameterMatcher 34 public ParameterMatcher(List<String> parameterTypes) { in ParameterMatcher() argument 35 this.parameterTypes = parameterTypes; in ParameterMatcher() 40 if (actualParameterTypes.size() != parameterTypes.size()) { in matches() 43 for (int i = 0; i < parameterTypes.size(); i++) { in matches() 45 String expectedTypeName = parameterTypes.get(i); in matches() 75 return Joiner.on(",").join(parameterTypes); in toStringForm() 87 return Objects.equals(parameterTypes, that.parameterTypes); in equals() 92 return Objects.hash(parameterTypes); in hashCode() 98 "parameterTypes=" + parameterTypes + in toString()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | BenchmarkMethods.java | 43 Class<?>[] parameterTypes = benchmarkMethod.getParameterTypes(); in of() local 44 if (Arrays.equals(parameterTypes, MACROBENCHMARK_PARAMS)) { in of() 46 } else if (Arrays.equals(parameterTypes, MICROBENCHMARK_PARAMS)) { in of() 48 } else if (Arrays.equals(parameterTypes, PICOBENCHMARK_PARAMS)) { in of() 72 Class<?>[] parameterTypes = timeMethod.getParameterTypes(); in checkTimeMethod() local 73 if (!Arrays.equals(parameterTypes, new Class<?>[] {int.class}) in checkTimeMethod() 74 && !Arrays.equals(parameterTypes, new Class<?>[] {long.class})) { in checkTimeMethod()
|
/external/easymock/src/org/easymock/internal/ |
D | MethodSerializationWrapper.java | 51 Class<?>[] parameterTypes = m.getParameterTypes(); in MethodSerializationWrapper() local 53 parameterTypeNames = new String[parameterTypes.length]; in MethodSerializationWrapper() 55 for (int i = 0; i < parameterTypes.length; i++) { in MethodSerializationWrapper() 56 parameterTypeNames[i] = parameterTypes[i].getName(); in MethodSerializationWrapper() 65 Class<?>[] parameterTypes = new Class[parameterTypeNames.length]; in getMethod() local 70 parameterTypes[i] = primitiveType; in getMethod() 72 parameterTypes[i] = Class.forName(parameterTypeNames[i], true, in getMethod() 77 Method m = clazz.getMethod(methodName, parameterTypes); in getMethod()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | ReturnsArgumentAt.java | 103 Class<?>[] parameterTypes = method.getParameterTypes(); in wantedArgIndexIsVarargAndSameTypeAsReturnType() local 105 argumentPosition == /* vararg index */ parameterTypes.length - 1 && in wantedArgIndexIsVarargAndSameTypeAsReturnType() 106 method.getReturnType().isAssignableFrom(parameterTypes[argumentPosition]); in wantedArgIndexIsVarargAndSameTypeAsReturnType() 121 Class<?>[] parameterTypes = invocation.getMethod().getParameterTypes(); in inferArgumentType() local 125 Class<?> argumentType = parameterTypes[argumentIndex]; in inferArgumentType() 136 int varargIndex = parameterTypes.length - 1; // vararg always last in inferArgumentType() 140 return parameterTypes[argumentIndex]; in inferArgumentType() 146 return parameterTypes[argumentIndex]; // move to MethodInfo ? in inferArgumentType() 149 return parameterTypes[varargIndex].getComponentType(); in inferArgumentType()
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | SuspendMethod.java | 16 public static Class<?>[] trimSuspendParameterTypes(Class<?>[] parameterTypes) { in trimSuspendParameterTypes() argument 17 int n = parameterTypes.length; in trimSuspendParameterTypes() 18 if (n > 0 && parameterTypes[n - 1].getName().equals(KOTLIN_CONTINUATION)) in trimSuspendParameterTypes() 19 return Arrays.copyOf(parameterTypes, n - 1); in trimSuspendParameterTypes() 20 return parameterTypes; in trimSuspendParameterTypes()
|
D | DelegatingMethod.java | 15 private final Class<?>[] parameterTypes; field in DelegatingMethod 20 this.parameterTypes = SuspendMethod.trimSuspendParameterTypes(method.getParameterTypes()); in DelegatingMethod() 36 return parameterTypes; in getParameterTypes()
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | SubscriberRegistry.java | 167 Class<?>[] parameterTypes = method.getParameterTypes(); in findAllSubscribers() local 168 Class<?> eventType = parameterTypes[0]; in findAllSubscribers() 190 Class<?>[] parameterTypes = method.getParameterTypes(); in getAnnotatedMethodsNotCached() local 192 parameterTypes.length == 1, in getAnnotatedMethodsNotCached() 196 parameterTypes.length); in getAnnotatedMethodsNotCached() 199 !parameterTypes[0].isPrimitive(), in getAnnotatedMethodsNotCached() 204 parameterTypes[0].getName(), in getAnnotatedMethodsNotCached() 205 Primitives.wrap(parameterTypes[0]).getSimpleName()); in getAnnotatedMethodsNotCached() 248 private final List<Class<?>> parameterTypes; field in SubscriberRegistry.MethodIdentifier 252 this.parameterTypes = Arrays.asList(method.getParameterTypes()); in MethodIdentifier() [all …]
|
/external/guava/android/guava/src/com/google/common/eventbus/ |
D | SubscriberRegistry.java | 167 Class<?>[] parameterTypes = method.getParameterTypes(); in findAllSubscribers() local 168 Class<?> eventType = parameterTypes[0]; in findAllSubscribers() 190 Class<?>[] parameterTypes = method.getParameterTypes(); in getAnnotatedMethodsNotCached() local 192 parameterTypes.length == 1, in getAnnotatedMethodsNotCached() 196 parameterTypes.length); in getAnnotatedMethodsNotCached() 199 !parameterTypes[0].isPrimitive(), in getAnnotatedMethodsNotCached() 204 parameterTypes[0].getName(), in getAnnotatedMethodsNotCached() 205 Primitives.wrap(parameterTypes[0]).getSimpleName()); in getAnnotatedMethodsNotCached() 248 private final List<Class<?>> parameterTypes; field in SubscriberRegistry.MethodIdentifier 252 this.parameterTypes = Arrays.asList(method.getParameterTypes()); in MethodIdentifier() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
D | ParameterIterator.java | 46 private final Iterator<? extends CharSequence> parameterTypes; field in ParameterIterator 50 public ParameterIterator(@Nonnull List<? extends CharSequence> parameterTypes, in ParameterIterator() argument 53 this.parameterTypes = parameterTypes.iterator(); in ParameterIterator() 59 return parameterTypes.hasNext(); in hasNext() 63 @Nonnull final String type = parameterTypes.next().toString(); in next()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/ |
D | ContextHelper.java | 38 …lveTypeVariables(Context context, MethodDeclaration methodDeclaration, List<Type> parameterTypes) { in resolveTypeVariables() argument 40 …rn ((JavaParserMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes); in resolveTypeVariables() 42 …urn ((JavassistMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes); in resolveTypeVariables() 44 …rserEnumDeclaration.ValuesMethod) methodDeclaration).resolveTypeVariables(context, parameterTypes); in resolveTypeVariables() 46 …rn ((ReflectionMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes); in resolveTypeVariables()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderMethodProtoReference.java | 48 @Nonnull final BuilderTypeList parameterTypes; field in BuilderMethodProtoReference 52 …thodProtoReference(@Nonnull BuilderStringReference shorty, @Nonnull BuilderTypeList parameterTypes, in BuilderMethodProtoReference() argument 55 this.parameterTypes = parameterTypes; in BuilderMethodProtoReference() 60 return parameterTypes; in getParameterTypes()
|
D | BuilderMethodPool.java | 125 @Nonnull private final List<? extends CharSequence> parameterTypes; 129 … @Nonnull List<? extends CharSequence> parameterTypes, @Nonnull String returnType) { 132 this.parameterTypes = parameterTypes; 145 return parameterTypes;
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | SerializableMethod.java | 21 private final Class<?>[] parameterTypes; field in SerializableMethod 33 parameterTypes = SuspendMethod.trimSuspendParameterTypes(method.getParameterTypes()); in SerializableMethod() 49 return parameterTypes; in getParameterTypes() 69 method = declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod() 108 if (!Arrays.equals(parameterTypes, other.parameterTypes)) in equals()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | AssistedConstructor.java | 45 Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in create() argument 46 return new AssistedConstructor<T>(constructor, parameterTypes); in create() 49 private AssistedConstructor(Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in AssistedConstructor() argument 58 for (int i = 0; i < parameterTypes.size(); i++) { in AssistedConstructor() 59 Parameter parameter = new Parameter(parameterTypes.get(i).getType(), annotations[i]); in AssistedConstructor()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_core_resolution_ContextHelper.txt | 1 …rMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes) ==> com.githu… 2 …tMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes) ==> com.githu… 3 …ation.ValuesMethod) methodDeclaration).resolveTypeVariables(context, parameterTypes) ==> com.githu… 4 …nMethodDeclaration) methodDeclaration).resolveTypeVariables(context, parameterTypes) ==> com.githu…
|
/external/junit-params/src/test/java/junitparams/naming/ |
D | MacroSubstitutionNamingStrategyTest.java | 85 …seNamingStrategy createNamingStrategyForMethod(String name, Class... parameterTypes) throws NoSuch… in createNamingStrategyForMethod() argument 86 TestMethod method = getCurrentClassMethod(name, parameterTypes); in createNamingStrategyForMethod() 91 …private TestMethod getCurrentClassMethod(String name, Class... parameterTypes) throws NoSuchMethod… in getCurrentClassMethod() argument 92 … final Method method = MacroSubstitutionNamingStrategyTest.class.getMethod(name, parameterTypes); in getCurrentClassMethod()
|
/external/guice/core/src/com/google/inject/internal/ |
D | BytecodeGen.java | 282 Class<?>[] parameterTypes; in isPubliclyCallable() local 284 parameterTypes = ((Constructor) member).getParameterTypes(); in isPubliclyCallable() 290 parameterTypes = method.getParameterTypes(); in isPubliclyCallable() 293 for (Class<?> type : parameterTypes) { in isPubliclyCallable() 352 Class[] parameterTypes; in forMember() local 354 parameterTypes = ((Constructor) member).getParameterTypes(); in forMember() 360 parameterTypes = method.getParameterTypes(); in forMember() 363 for (Class<?> type : parameterTypes) { in forMember()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 84 final Type[] parameterTypes = getGenericParameterTypes(); in invoke() local 85 final Object[] args = new Object[parameterTypes.length]; in invoke() 93 final Type parameterType = parameterTypes[i]; in invoke() 116 final Class<?>[] parameterTypes = getMethod().getParameterTypes(); in invoke() local 117 final Object[] args = new Object[parameterTypes.length]; in invoke() 119 for (int i = 0; i < parameterTypes.length; i++) { in invoke() 120 Class<?> parameterType = parameterTypes[i]; in invoke() 122 if (i < parameterTypes.length) { in invoke() 309 final Class<?>[] parameterTypes = mMethod.getParameterTypes(); in getHelp() local 312 for (int i = 0; i < parameterTypes.length; i++) { in getHelp() [all …]
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | PSKKeyManagerProxy.java | 71 Class<?>[] parameterTypes = method.getParameterTypes(); in invoke() local 72 boolean sslEngineVariant = (parameterTypes.length > 0) in invoke() 73 && SSLEngine.class.equals(parameterTypes[parameterTypes.length - 1]); in invoke()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
D | MainUtil.java | 58 Class[] parameterTypes = method.getParameterTypes(); in bindParameters() local 59 for (int i = 0, len = parameterTypes.length; i < len; i++) { in bindParameters() 60 Class type = parameterTypes[i]; in bindParameters() 67 parameters.add(convertParameter(args[i], parameterTypes[i])); in bindParameters()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | PSKKeyManagerProxy.java | 72 Class<?>[] parameterTypes = method.getParameterTypes(); in invoke() local 73 boolean sslEngineVariant = (parameterTypes.length > 0) in invoke() 74 && SSLEngine.class.equals(parameterTypes[parameterTypes.length - 1]); in invoke()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
D | CallableDeclaration.java | 257 private final List<Type> parameterTypes; field in CallableDeclaration.Signature 259 private Signature(String name, List<Type> parameterTypes) { in Signature() argument 261 this.parameterTypes = parameterTypes; in Signature() 269 return parameterTypes; in getParameterTypes() 281 if (!parameterTypes.equals(signature.parameterTypes)) in equals() 289 result = 31 * result + parameterTypes.hashCode(); in hashCode() 294 … return parameterTypes.stream().map(Type::asString).collect(joining(", ", name + "(", ")")); in asString()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | GeneratedMonitorTest.java | 188 Class<?>[] parameterTypes = method.getParameterTypes(); in isGuarded() local 189 return parameterTypes.length >= 1 && parameterTypes[0] == Monitor.Guard.class; in isGuarded() 199 Class<?>[] parameterTypes = method.getParameterTypes(); in isLongTimeUnitBased() local 200 return parameterTypes.length >= 2 in isLongTimeUnitBased() 201 && parameterTypes[parameterTypes.length - 2] == long.class in isLongTimeUnitBased() 202 && parameterTypes[parameterTypes.length - 1] == TimeUnit.class; in isLongTimeUnitBased() 207 Class<?>[] parameterTypes = method.getParameterTypes(); in isDurationBased() local 208 return parameterTypes.length >= 1 in isDurationBased() 209 && parameterTypes[parameterTypes.length - 1] == Duration.class; in isDurationBased()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionEnumDeclaration.java | 155 …public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> parameterTypes, bool… in solveMethod() argument 156 return ReflectionMethodResolutionLogic.solveMethod(name, parameterTypes, staticOnly, in solveMethod() 160 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> parameterTypes, TypeSolver… in solveMethodAsUsage() argument 161 …sage> res = ReflectionMethodResolutionLogic.solveMethodAsUsage(name, parameterTypes, typeSolver, i… in solveMethodAsUsage() 169 for (Type actualType : parameterTypes) { in solveMethodAsUsage()
|
/external/javassist/src/main/javassist/convert/ |
D | TransformBefore.java | 30 protected CtClass[] parameterTypes; field in TransformBefore 44 parameterTypes = origMethod.getParameterTypes(); in TransformBefore() 63 String desc = Descriptor.ofParameters(parameterTypes) + 'V'; in match() 72 makeCode(parameterTypes, cp); in match()
|