Home
last modified time | relevance | path

Searched refs:getNumberOfParams (Results 1 – 25 of 48) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_declarations_MethodLikeDeclaration.txt11 …Line 56) getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeD…
21 …Line 95) getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeD…
22 …Line 98) getParam(getNumberOfParams() - 1) ==> com.github.javaparser.symbolsolver.model.declaratio…
23 …Line 98) getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeD…
24 …Line 106) getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLike…
25 …Line 109) getParam(getNumberOfParams() - 1).isVariadic() ==> com.github.javaparser.symbolsolver.mo…
26 …Line 109) getParam(getNumberOfParams() - 1) ==> com.github.javaparser.symbolsolver.model.declarati…
27 …Line 109) getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLike…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DMethodLikeDeclaration.java56 for (int i = 0; i < getNumberOfParams(); i++) { in getSignature()
82 int getNumberOfParams(); in getNumberOfParams() method
95 if (getNumberOfParams() == 0) { in getLastParam()
98 return getParam(getNumberOfParams() - 1); in getLastParam()
106 if (getNumberOfParams() == 0) { in hasVariadicParameter()
109 return getParam(getNumberOfParams() - 1).isVariadic(); in hasVariadicParameter()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedMethodLikeDeclaration.java67 for (int i = 0; i < getNumberOfParams(); i++) { in getSignature()
93 int getNumberOfParams(); in getNumberOfParams() method
106 if (getNumberOfParams() == 0) { in getLastParam()
109 return getParam(getNumberOfParams() - 1); in getLastParam()
117 if (getNumberOfParams() == 0) { in hasVariadicParameter()
120 return getParam(getNumberOfParams() - 1).isVariadic(); in hasVariadicParameter()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/
DConstructorResolutionLogic.java66 int pos = constructor.getNumberOfParams() - 1; in isApplicable()
67 if (constructor.getNumberOfParams() == argumentsTypes.size()) { in isApplicable()
94 if (constructor.getNumberOfParams() != argumentsTypes.size()) { in isApplicable()
99 for (int i = 0; i < constructor.getNumberOfParams(); i++) { in isApplicable()
127 … if (constructor.hasVariadicParameter() && i == constructor.getNumberOfParams() - 1) { in isApplicable()
200 if (constructorA.getNumberOfParams() < constructorB.getNumberOfParams()) { in isMoreSpecific()
203 if (constructorA.getNumberOfParams() > constructorB.getNumberOfParams()) { in isMoreSpecific()
206 for (int i = 0; i < constructorA.getNumberOfParams(); i++) { in isMoreSpecific()
219 … if (i == (constructorA.getNumberOfParams() - 1) && tdA.arrayLevel() > tdB.arrayLevel()) { in isMoreSpecific()
DMethodResolutionLogic.java74 int pos = method.getNumberOfParams() - 1; in isApplicable()
75 if (method.getNumberOfParams() == argumentsTypes.size()) { in isApplicable()
99 if (method.getNumberOfParams() != argumentsTypes.size()) { in isApplicable()
104 for (int i = 0; i < method.getNumberOfParams(); i++) { in isApplicable()
131 if (method.hasVariadicParameter() && i == method.getNumberOfParams() - 1) { in isApplicable()
445 for (int i = 0; i < method.getNumberOfParams(); i++) { in isExactMatch()
455 if (methodA.getNumberOfParams() < methodB.getNumberOfParams()) { in isMoreSpecific()
458 if (methodA.getNumberOfParams() > methodB.getNumberOfParams()) { in isMoreSpecific()
461 for (int i = 0; i < methodA.getNumberOfParams(); i++) { in isMoreSpecific()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DConstructorResolutionLogic.java66 int pos = constructor.getNumberOfParams() - 1; in isApplicable()
67 if (constructor.getNumberOfParams() == argumentsTypes.size()) { in isApplicable()
94 if (constructor.getNumberOfParams() != argumentsTypes.size()) { in isApplicable()
99 for (int i = 0; i < constructor.getNumberOfParams(); i++) { in isApplicable()
127 … if (constructor.hasVariadicParameter() && i == constructor.getNumberOfParams() - 1) { in isApplicable()
200 if (constructorA.getNumberOfParams() < constructorB.getNumberOfParams()) { in isMoreSpecific()
203 if (constructorA.getNumberOfParams() > constructorB.getNumberOfParams()) { in isMoreSpecific()
206 for (int i = 0; i < constructorA.getNumberOfParams(); i++) { in isMoreSpecific()
219 … if (i == (constructorA.getNumberOfParams() - 1) && tdA.arrayLevel() > tdB.arrayLevel()) { in isMoreSpecific()
DMethodResolutionLogic.java69 int pos = method.getNumberOfParams() - 1; in isApplicable()
70 if (method.getNumberOfParams() == argumentsTypes.size()) { in isApplicable()
94 if (method.getNumberOfParams() != argumentsTypes.size()) { in isApplicable()
99 for (int i = 0; i < method.getNumberOfParams(); i++) { in isApplicable()
126 if (method.hasVariadicParameter() && i == method.getNumberOfParams() - 1) { in isApplicable()
437 for (int i = 0; i < method.getNumberOfParams(); i++) { in isExactMatch()
446 int numberOfParams = method.getNumberOfParams(); in getMethodsExplicitAndVariadicParameterType()
462 final int aNumberOfParams = methodA.getNumberOfParams(); in isMoreSpecific()
463 final int bNumberOfParams = methodB.getNumberOfParams(); in isMoreSpecific()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_resolution_ConstructorResolutionLogic.txt12 …e 66) constructor.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
13 …e 67) constructor.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
36 …e 94) constructor.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
38 …e 99) constructor.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
67 … 127) constructor.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
95 …200) constructorA.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
96 …200) constructorB.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
97 …203) constructorA.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
98 …203) constructorB.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
99 …206) constructorA.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
[all …]
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionConstructorDeclaration.txt3 …Line 53) getNumberOfParams() ==> com.github.javaparser.symbolsolver.reflectionmodel.ReflectionCons…
4 …Line 54) String.format("No param with index %d. Number of params: %d", i, getNumberOfParams()) ==>…
5 …Line 54) getNumberOfParams() ==> com.github.javaparser.symbolsolver.reflectionmodel.ReflectionCons…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserConstructorDeclaration.txt3 …ne 53) getNumberOfParams() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.Jav…
4 …Line 54) String.format("No param with index %d. Number of params: %d", i, getNumberOfParams()) ==>…
5 …ne 54) getNumberOfParams() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.Jav…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserMethodDeclaration.txt11 …Line 78) getNumberOfParams() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.J…
12 …Line 79) String.format("No param with index %d. Number of params: %d", i, getNumberOfParams()) ==>…
13 …Line 79) getNumberOfParams() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.J…
Dcom_github_javaparser_symbolsolver_declarations_common_MethodDeclarationCommonLogic.txt3 …methodDeclaration.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
8 …methodDeclaration.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
Dcom_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt14 …Line 74) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Meth…
15 …Line 75) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Meth…
38 …Line 99) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Meth…
40 …Line 104) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Met…
69 …Line 131) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Met…
280 …Line 445) method.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Met…
285 …Line 455) methodA.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
286 …Line 455) methodB.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
287 …Line 458) methodA.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
288 …Line 458) methodB.getNumberOfParams() ==> com.github.javaparser.symbolsolver.model.declarations.Me…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionConstructorDeclaration.java47 public int getNumberOfParams() { in getNumberOfParams() method in ReflectionConstructorDeclaration
53 if (i < 0 || i >= getNumberOfParams()) { in getParam()
54 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserConstructorDeclaration.java47 public int getNumberOfParams() { in getNumberOfParams() method in JavaParserConstructorDeclaration
53 if (i < 0 || i >= getNumberOfParams()) { in getParam()
54 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
DJavaParserMethodDeclaration.java72 public int getNumberOfParams() { in getNumberOfParams() method in JavaParserMethodDeclaration
78 if (i < 0 || i >= getNumberOfParams()) { in getParam()
79 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
DDefaultConstructorDeclaration.java41 public int getNumberOfParams() { in getNumberOfParams() method in DefaultConstructorDeclaration
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistParameterDeclarationTest.java55 for (int i = 0; i < methodDecl.getNumberOfParams(); i++) { in noNamesAvailableInInterfaceMethods()
78 if (methodDecl.getNumberOfParams() == 2) { in nameForMethodParameters()
83 } else if (methodDecl.getNumberOfParams() == 4) { in nameForMethodParameters()
134 if (methodDecl.getNumberOfParams() == 1) { in isVaraidic()
136 } else if (methodDecl.getNumberOfParams() == 2) { in isVaraidic()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionConstructorDeclaration.java53 public int getNumberOfParams() { in getNumberOfParams() method in ReflectionConstructorDeclaration
59 if (i < 0 || i >= getNumberOfParams()) { in getParam()
60 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserConstructorDeclaration.java53 public int getNumberOfParams() { in getNumberOfParams() method in JavaParserConstructorDeclaration
59 if (i < 0 || i >= getNumberOfParams()) { in getParam()
60 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
DJavaParserMethodDeclaration.java79 public int getNumberOfParams() { in getNumberOfParams() method in JavaParserMethodDeclaration
85 if (i < 0 || i >= getNumberOfParams()) { in getParam()
86 …ntException(String.format("No param with index %d. Number of params: %d", i, getNumberOfParams())); in getParam()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java49 for (int i = 0; i < methodDeclaration.getNumberOfParams(); i++) { in resolveTypeVariables()
58 …for (int i = 0; i < methodDeclaration.getNumberOfParams() - (methodDeclaration.hasVariadicParamete… in resolveTypeVariables()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionInterfaceDeclarationTest.java53 assertEquals(0, method.getNumberOfParams()); in testGetDeclaredMethods()
58 assertEquals(1, method.getNumberOfParams()); in testGetDeclaredMethods()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java49 for (int i = 0; i < methodDeclaration.getNumberOfParams(); i++) { in resolveTypeVariables()
58 …for (int i = 0; i < methodDeclaration.getNumberOfParams() - (methodDeclaration.hasVariadicParamete… in resolveTypeVariables()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DClassOrInterfaceDeclarationContextResolutionTest.java352 assertEquals(0, ref.getCorrespondingDeclaration().getNumberOfParams()); in solveMethodSimpleCase()
364 assertEquals(0, ref.getCorrespondingDeclaration().getNumberOfParams()); in solveMethodOverrideCase()
376 assertEquals(0, ref.getCorrespondingDeclaration().getNumberOfParams()); in solveMethodInheritedCase()
390 assertEquals(1, ref.getCorrespondingDeclaration().getNumberOfParams()); in solveMethodWithPrimitiveParameters()
404 assertEquals(1, ref.getCorrespondingDeclaration().getNumberOfParams()); in solveMethodWithMoreSpecializedParameter()

12