Home
last modified time | relevance | path

Searched full:paramtypes (Results 1 – 25 of 109) sorted by relevance

12345

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/
DMethodUsage.java42 private List<ResolvedType> paramTypes = new ArrayList<>(); field in MethodUsage
51 paramTypes.add(declaration.getParam(i).getType()); in MethodUsage()
60 List<ResolvedType> paramTypes, ResolvedType returnType) { in MethodUsage() argument
61 this(declaration, paramTypes, returnType, declaration.getSpecifiedExceptions(), in MethodUsage()
65 …public MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedT… in MethodUsage() argument
67 … this(declaration, paramTypes, returnType, exceptionTypes, ResolvedTypeParametersMap.empty()); in MethodUsage()
70 …private MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, Resolved… in MethodUsage() argument
73 this.paramTypes = paramTypes; in MethodUsage()
83 ", paramTypes=" + paramTypes + in toString()
104 return paramTypes; in getParamTypes()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvocationProfile.java9 public final String[] paramTypes; field in InvocationProfile
16 this.paramTypes = methodSignature.paramTypes; in InvocationProfile()
25 Class[] classes = new Class[paramTypes.length]; in getParamClasses()
26 for (int i = 0; i < paramTypes.length; i++) { in getParamClasses()
27 String paramType = paramTypes[i]; in getParamClasses()
66 if (!Arrays.equals(paramTypes, that.paramTypes)) return false; in equals()
76 result = 31 * result + (paramTypes != null ? Arrays.hashCode(paramTypes) : 0); in hashCode()
DMethodSignature.java9 public final String[] paramTypes; field in MethodSignature
12 …private MethodSignature(String className, String methodName, String[] paramTypes, String returnTyp… in MethodSignature() argument
15 this.paramTypes = paramTypes; in MethodSignature()
26 String[] paramTypes = new String[argumentTypes.length]; in parse() local
28 paramTypes[i] = argumentTypes[i].getClassName(); in parse()
31 return new MethodSignature(className, methodName, paramTypes, returnType); in parse()
36 return className + "." + methodName + "(" + Join.join(", ", (Object[]) paramTypes) + ")"; in toString()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithConstructors.java52 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
56 default Optional<ConstructorDeclaration> getConstructorByParameterTypes(String... paramTypes) { in getConstructorByParameterTypes() argument
57 … return getConstructors().stream().filter(m -> m.hasParametersOfType(paramTypes)).findFirst(); in getConstructorByParameterTypes()
63 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
67 … default Optional<ConstructorDeclaration> getConstructorByParameterTypes(Class<?>... paramTypes) { in getConstructorByParameterTypes() argument
68 … return getConstructors().stream().filter(m -> m.hasParametersOfType(paramTypes)).findFirst(); in getConstructorByParameterTypes()
DNodeWithParameters.java138 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
142 default boolean hasParametersOfType(String... paramTypes) { in hasParametersOfType() argument
146 .equals(Stream.of(paramTypes).collect(toSet())); in hasParametersOfType()
153 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
157 default boolean hasParametersOfType(Class<?>... paramTypes) { in hasParametersOfType() argument
160 .equals(Stream.of(paramTypes).map(Class::getSimpleName).collect(toSet())); in hasParametersOfType()
DNodeWithMembers.java266 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
270 default List<MethodDeclaration> getMethodsByParameterTypes(String... paramTypes) { in getMethodsByParameterTypes() argument
272 .filter(m -> m.hasParametersOfType(paramTypes)) in getMethodsByParameterTypes()
279 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
283 default List<MethodDeclaration> getMethodsBySignature(String name, String... paramTypes) { in getMethodsBySignature() argument
285 .filter(m -> m.hasParametersOfType(paramTypes)) in getMethodsBySignature()
292 …* @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br> vo…
296 default List<MethodDeclaration> getMethodsByParameterTypes(Class<?>... paramTypes) { in getMethodsByParameterTypes() argument
298 .filter(m -> m.hasParametersOfType(paramTypes)) in getMethodsByParameterTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/test/ObjectYAML/wasm/
Dtype_section.yaml10 ParamTypes:
15 ParamTypes:
27 # CHECK: ParamTypes:
32 # CHECK: ParamTypes:
Dcode_section.yaml10 ParamTypes:
14 ParamTypes:
63 # CHECK: ParamTypes:
67 # CHECK: ParamTypes:
Dfunction_section.yaml10 ParamTypes:
13 ParamTypes:
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_methods_MethodUsage.txt3 Line 44) paramTypes.add(declaration.getParam(i).getType()) ==> java.util.List.add(E)
10 Line 89) paramTypes.get(i) ==> java.util.List.get(int)
12 Line 109) paramTypes.size() ==> java.util.List.size()
13 Line 116) paramTypes.get(i) ==> java.util.List.get(int)
17 Line 128) paramTypes.size() ==> java.util.List.size()
18 Line 129) paramTypes.get(i) ==> java.util.List.get(int)
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java342 private final List<String> paramTypes = new ArrayList<>(); field in SdkStore.MethodInfo
348 paramTypes.add(normalize(type)); in MethodInfo()
356 paramTypes.add("java.lang.Object"); in MethodInfo()
368 paramTypes.add(paramTypeWithoutGenerics); in MethodInfo()
384 return new MethodInfo(name, paramTypes.size()); in erase()
397 && Objects.equals(paramTypes, that.paramTypes); in equals()
402 return Objects.hash(name, paramTypes); in hashCode()
408 + ", paramTypes=" + paramTypes in toString()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithMembers.txt64 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()…
65 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()…
66 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()…
69 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()…
77 …Line 240) Stream.of(paramTypes).collect(toSet()) ==> java.util.stream.Stream.collect(java.util.str…
78 Line 240) Stream.of(paramTypes) ==> java.util.stream.Stream.of(T...)
81 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).map(Class::getS…
82 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).map(Class::getS…
83 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).map(Class::getS…
86 …m().map(p -> p.getType().toString()).collect(toSet()).equals(Stream.of(paramTypes).map(Class::getS…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java232 * @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br>
236 default List<MethodDeclaration> getMethodsByParameterTypes(String... paramTypes) { in getMethodsByParameterTypes() argument
240 .collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()))) in getMethodsByParameterTypes()
247 * @param paramTypes the types of parameters like "Map&lt;Integer,String&gt;","int" to match<br>
251 default List<MethodDeclaration> getMethodsByParameterTypes(Class<?>... paramTypes) { in getMethodsByParameterTypes() argument
256 … .equals(Stream.of(paramTypes).map(Class::getSimpleName).collect(toSet()))) in getMethodsByParameterTypes()
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java492 * @param paramTypes expected invokedynamic argument types, which also must be the parameters of
496 private boolean attemptAllocationBeforeArgumentLoads(String internalName, Type[] paramTypes) { in attemptAllocationBeforeArgumentLoads() argument
497 checkArgument(paramTypes.length > 0, "Expected at least one param for %s", internalName); in attemptAllocationBeforeArgumentLoads()
501 for (int i = paramTypes.length - 1; 0 <= i; --i) { in attemptAllocationBeforeArgumentLoads()
508 ? getfield.desc.equals(paramTypes[i].getDescriptor()) in attemptAllocationBeforeArgumentLoads()
509 : paramTypes[i].getDescriptor().length() > 1, in attemptAllocationBeforeArgumentLoads()
511 paramTypes[i], in attemptAllocationBeforeArgumentLoads() local
523 paramTypes[i], in attemptAllocationBeforeArgumentLoads()
537 } else if (!isPushForType(insn, paramTypes[i])) { in attemptAllocationBeforeArgumentLoads()
545 paramTypes.length == 1, in attemptAllocationBeforeArgumentLoads()
[all …]
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java141 Object[] params, Class[] paramTypes) { in logResult() argument
149 if (params.length != paramTypes.length) { in logResult()
152 "expected " + paramTypes.length in logResult()
160 msg.append(Utils.toString(params[i], paramTypes[i])); in logResult()
DVerboseReporter.java201 Class[] paramTypes = tm.getMethod().getParameterTypes(); in logTestResult() local
205 if (params.length != paramTypes.length) { in logTestResult()
209 sb.append(paramTypes.length); in logTestResult()
216 sb.append(Utils.toString(params[i], paramTypes[i])); in logTestResult()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/WebAssembly/
Dlibcall.ll21 ; CHECK-NEXT: ParamTypes:
26 ; CHECK-NEXT: ParamTypes:
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DMethodSignatureTest.java17 assertThat(signature.paramTypes).asList().contains("java.lang.Integer"); in parse_shouldHandlePrimitiveReturnTypes()
26 assertThat(signature.paramTypes).asList().contains("java.lang.Integer"); in parse_shouldHandleObjectReturnTypes()
DInvocationProfileTest.java18 assertThat(profile.paramTypes).isEmpty(); in shouldConvertFromMethodSignature()
27 assertThat(profile.paramTypes).asList().containsExactly("int", "boolean[]", "java.lang.String"); in shouldHandleParamTypes()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DConfigurator.java313 Class[] paramTypes = m.getParameterTypes(); in configure() local
315 if (paramTypes.length >= 1) { in configure()
320 if (paramStrs.length == paramTypes.length) { in configure()
322 Object[] oa = inflateParams(ctx, paramTypes, paramStrs); in configure()
327 … + m.getName() + "\". Expected: " + paramTypes.length + " Got: " + paramStrs.length); in configure()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSubcomponentWriter.java165 List<? extends TypeMirror> paramTypes = resolvedMethod.getParameterTypes(); in writeSubcomponentWithoutBuilder() local
168 TypeElement moduleTypeElement = MoreTypes.asTypeElement(paramTypes.get(i)); in writeSubcomponentWithoutBuilder()
169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i)); in writeSubcomponentWithoutBuilder()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DMethodImpl.java301 List<Type> paramTypes = this.argumentTypes(); in handleVarArgs() local
302 ArrayType lastParamType = (ArrayType)paramTypes.get(paramTypes.size() - 1); in handleVarArgs()
305 int paramCount = paramTypes.size(); in handleVarArgs()
/external/clang/lib/Sema/
DSemaOverload.cpp6777 Candidate.BuiltinTypes.ParamTypes[ArgIdx] = ParamTys[ArgIdx]; in AddBuiltinCandidate()
7111 QualType ParamTypes[2]; in AddBuiltinAssignmentOperatorCandidates() local
7114 ParamTypes[0] = S.Context.getLValueReferenceType(T); in AddBuiltinAssignmentOperatorCandidates()
7115 ParamTypes[1] = T; in AddBuiltinAssignmentOperatorCandidates()
7116 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in AddBuiltinAssignmentOperatorCandidates()
7121 ParamTypes[0] in AddBuiltinAssignmentOperatorCandidates()
7123 ParamTypes[1] = T; in AddBuiltinAssignmentOperatorCandidates()
7124 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in AddBuiltinAssignmentOperatorCandidates()
7307 QualType ParamTypes[2] = { in addPlusPlusMinusMinusStyleOverloads() local
7314 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DWasm.h38 std::vector<uint8_t> ParamTypes; member
279 return LHS.ReturnType == RHS.ReturnType && LHS.ParamTypes == RHS.ParamTypes;
/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java163 Class<?>[] paramTypes = constructor.getParameterTypes(); in evaluateConstructor() local
164 for (int i = 0; i < paramTypes.length; ++i) { in evaluateConstructor()
165 Class<?> paramType = paramTypes[i]; in evaluateConstructor()

12345