Home
last modified time | relevance | path

Searched refs:isTypeVariable (Results 1 – 25 of 53) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DGenericsResolutionTest.java111 assertEquals(true, type.isTypeVariable()); in resolveFieldOfVariableType()
128 assertEquals(false, type.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType()
132 assertEquals(true, typeParam.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType()
147 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldSimpleCase()
161 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldIntermediateCase()
164 assertEquals(true, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in resolveUsageOfGenericFieldIntermediateCase()
179 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldAdvancedCase()
182 assertEquals(false, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in resolveUsageOfGenericFieldAdvancedCase()
208 assertEquals(false, type.isTypeVariable()); in resolveElementOfList()
222 assertEquals(false, type.isTypeVariable()); in resolveElementOfListAdvancedExample()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_InferenceVariableType.txt9 …addAll(inferenceVariableType.equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !(t insta…
10 …Line 104) inferenceVariableType.equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !(t in…
11 …Line 104) inferenceVariableType.equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !(t in…
13 …Line 104) t.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isTypeVa…
32 …Line 126) equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !hasInferenceVariables(t)).c…
33 …Line 126) equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !hasInferenceVariables(t)) =…
35 …Line 127) t.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isTypeVa…
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DWildcardUsageTest.java131 assertEquals(false, unbounded.isTypeVariable()); in testIsTypeVariable()
132 assertEquals(false, superFoo.isTypeVariable()); in testIsTypeVariable()
133 assertEquals(false, superBar.isTypeVariable()); in testIsTypeVariable()
134 assertEquals(false, extendsFoo.isTypeVariable()); in testIsTypeVariable()
135 assertEquals(false, extendsBar.isTypeVariable()); in testIsTypeVariable()
DArrayTypeTest.java103 assertEquals(false, arrayOfBooleans.isTypeVariable()); in testIsTypeVariable()
104 assertEquals(false, arrayOfStrings.isTypeVariable()); in testIsTypeVariable()
DReferenceTypeTest.java80 assertEquals(true, ref1.typeParametersValues().get(0).isTypeVariable()); in testDerivationOfTypeParameters()
134 assertEquals(false, object.isTypeVariable()); in testIsTypeVariable()
135 assertEquals(false, string.isTypeVariable()); in testIsTypeVariable()
136 assertEquals(false, listOfA.isTypeVariable()); in testIsTypeVariable()
137 assertEquals(false, listOfStrings.isTypeVariable()); in testIsTypeVariable()
410 …f.getFieldType("elements").get().asReferenceType().typeParametersValues().get(0).isTypeVariable()); in testGetFieldTypeExisting()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java250 if (source.isReferenceType() && target.isTypeVariable()) { in inferTypes()
254 if (source.isWildcard() && target.isTypeVariable()) { in inferTypes()
265 if (source.isArray() && target.isTypeVariable()) { in inferTypes()
281 if (source.isConstraint() && target.isTypeVariable()){ in inferTypes()
285 if (source.isTypeVariable() && target.isTypeVariable()) { in inferTypes()
348 if (expectedType.isTypeVariable()) { in matchTypeParameters()
349 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters()
DLambdaExprContext.java114 … if (entry.b.isTypeVariable() && entry.b.asTypeParameter().declaredOnType()) { in solveSymbolAsValue()
119 … } else if (lambdaType.isTypeVariable() && lambdaType.asTypeParameter().declaredOnType()) { in solveSymbolAsValue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionMethodDeclarationTest.java58 assertEquals(true, put.getReturnType().isTypeVariable()); in testGetGenericReturnType()
70 assertEquals(true, put.getParam(0).getType().isTypeVariable()); in testGetGenericParameters()
74 assertEquals(true, put.getParam(1).getType().isTypeVariable()); in testGetGenericParameters()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java110 …if ((expectedType.isTypeVariable() && !(expectedType.isWildcard())) && expectedType.asTypeParamete… in isApplicable()
150 } else if (expected.isTypeVariable()) { in isAssignableMatchTypeParameters()
196 if (expectedParam.isTypeVariable()) { in isAssignableMatchTypeParametersMatchingQName()
198 …if (!actualParam.isTypeVariable() || !actualParam.asTypeParameter().getName().equals(expectedParam… in isAssignableMatchTypeParametersMatchingQName()
202 if (actualParam.isTypeVariable()) { in isAssignableMatchTypeParametersMatchingQName()
239 if (type.isTypeVariable()) { in replaceTypeParam()
667 if (source.isReferenceType() && target.isTypeVariable()) { in inferTypes()
679 if (source.isWildcard() && target.isTypeVariable()) { in inferTypes()
683 if (source.isTypeVariable() && target.isTypeVariable()) { in inferTypes()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedType.java86 …return isReferenceType() || isArray() || isTypeVariable() || isNull() || isWildcard() || isUnionTy… in isReference()
106 default boolean isTypeVariable() { in isTypeVariable() method
DResolvedTypeVariable.java112 public boolean isTypeVariable() { in isTypeVariable() method in ResolvedTypeVariable
118 if (other.isTypeVariable()) { in isAssignableBy()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeVariableDeclaration.txt6 …Line 93) type.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isType…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt89 …Line 185) typeOfScope.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
179 …Line 292) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
183 …Line 296) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
194 …Line 307) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
210 …Line 323) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
214 …Line 327) source.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
215 …Line 327) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
260 …Line 390) expectedType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Ty…
261 …Line 391) actualType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
Dcom_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt44 …Line 107) expectedType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Ty…
76 …Line 147) expected.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.i…
108 …Line 193) expectedParam.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.T…
111 …Line 195) actualParam.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
130 …Line 227) type.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isTyp…
396 …Line 650) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
407 …Line 662) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
410 …Line 666) source.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
411 …Line 666) target.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isT…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt47 …Line 115) entry._2.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.i…
54 …Line 120) lambdaType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
Dcom_github_javaparser_symbolsolver_model_typesystem_LazyType.txt16 …Line 60) getType().isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.i…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java61 public boolean isTypeVariable() { in isTypeVariable() method in LazyType
62 return getType().isTypeVariable(); in isTypeVariable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_TypeVariable.txt19 …Line 112) other.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isTy…
Dcom_github_javaparser_symbolsolver_model_typesystem_Type.txt7 …Line 73) isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isTypeVaria…
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParameterValueProvider.txt1 …Line 25) type.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isType…
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceVariableType.java104 …result.addAll(inferenceVariableType.equivalentTypes.stream().filter(t -> !t.isTypeVariable() && !(… in concreteEquivalentTypesAlsoIndirectly()
127 … .filter(t -> !t.isTypeVariable() && !hasInferenceVariables(t)) in equivalentType()
/external/doclava/src/com/google/doclava/
DMethodInfo.java838 if (!mReturnType.isTypeVariable() && !mInfo.mReturnType.isTypeVariable()) { in isConsistent()
843 } else if (!mReturnType.isTypeVariable() && mInfo.mReturnType.isTypeVariable()) { in isConsistent()
850 } else if (mReturnType.isTypeVariable() && !mInfo.mReturnType.isTypeVariable()) { in isConsistent()
977 if (!type.isTypeVariable()) { in resolveConstraints()
/external/javaparser/javaparser-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DNullType.java59 public boolean isTypeVariable() { in isTypeVariable() method in NullType
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DLambdaArgumentTypePlaceholder.java59 public boolean isTypeVariable() { in isTypeVariable() method in LambdaArgumentTypePlaceholder
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParameterValueProvider.java46 if (type.isTypeVariable()) { in useThisTypeParametersOnTheGivenType()

123