Home
last modified time | relevance | path

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

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DGenericsResolutionTest.java113 assertEquals(true, type.isTypeVariable()); in resolveFieldOfVariableType()
130 assertEquals(false, type.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType()
134 assertEquals(true, typeParam.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType()
149 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldSimpleCase()
163 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldIntermediateCase()
166 assertEquals(true, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in resolveUsageOfGenericFieldIntermediateCase()
181 assertEquals(false, type.isTypeVariable()); in resolveUsageOfGenericFieldAdvancedCase()
184 assertEquals(false, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in resolveUsageOfGenericFieldAdvancedCase()
236 assertEquals(false, type.isTypeVariable()); in resolveElementOfList()
250 assertEquals(false, type.isTypeVariable()); in resolveElementOfListAdvancedExample()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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.java132 assertEquals(false, unbounded.isTypeVariable()); in testIsTypeVariable()
133 assertEquals(false, superFoo.isTypeVariable()); in testIsTypeVariable()
134 assertEquals(false, superBar.isTypeVariable()); in testIsTypeVariable()
135 assertEquals(false, extendsFoo.isTypeVariable()); in testIsTypeVariable()
136 assertEquals(false, extendsBar.isTypeVariable()); in testIsTypeVariable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionParameterDeclarationTest.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-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java185 } else if (typeOfScope.isTypeVariable()) { in solveMethod()
292 if (source.isReferenceType() && target.isTypeVariable()) { in inferTypes()
296 if (source.isWildcard() && target.isTypeVariable()) { in inferTypes()
307 if (source.isArray() && target.isTypeVariable()) { in inferTypes()
323 if (source.isConstraint() && target.isTypeVariable()){ in inferTypes()
327 if (source.isTypeVariable() && target.isTypeVariable()) { in inferTypes()
390 if (expectedType.isTypeVariable()) { in matchTypeParameters()
391 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters()
/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()
271 if (source.isArray() && target.isTypeVariable()) { in inferTypes()
287 if (source.isConstraint() && target.isTypeVariable()){ in inferTypes()
291 if (source.isTypeVariable() && target.isTypeVariable()) { in inferTypes()
354 if (expectedType.isTypeVariable()) { in matchTypeParameters()
355 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/
DType.java73 return isReferenceType() || isArray() || isTypeVariable() || isNull() || isWildcard(); in isReference()
93 default boolean isTypeVariable() { in isTypeVariable() method
DTypeVariable.java106 public boolean isTypeVariable() { in isTypeVariable() method in TypeVariable
112 if (other.isTypeVariable()) { in isAssignableBy()
DNullType.java57 public boolean isTypeVariable() { in isTypeVariable() method in NullType
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java102 …if ((expectedType.isTypeVariable() && !(expectedType.isWildcard())) && expectedType.asTypeParamete… in isApplicable()
142 } else if (expected.isTypeVariable()) { in isAssignableMatchTypeParameters()
188 if (expectedParam.isTypeVariable()) { in isAssignableMatchTypeParametersMatchingQName()
190 …if (!actualParam.isTypeVariable() || !actualParam.asTypeParameter().getName().equals(expectedParam… in isAssignableMatchTypeParametersMatchingQName()
194 if (actualParam.isTypeVariable()) { in isAssignableMatchTypeParametersMatchingQName()
231 if (type.isTypeVariable() || type.isWildcard()) { in replaceTypeParam()
649 if (source.isReferenceType() && target.isTypeVariable()) { in inferTypes()
661 if (source.isWildcard() && target.isTypeVariable()) { in inferTypes()
665 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/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java59 public boolean isTypeVariable() { in isTypeVariable() method in LazyType
60 return getType().isTypeVariable(); in isTypeVariable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java60 public boolean isTypeVariable() { in isTypeVariable() method in LazyType
61 return getType().isTypeVariable(); in isTypeVariable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java107 …if ((expectedType.isTypeVariable() && !(expectedType.isWildcard())) && expectedType.asTypeParamete… in isApplicable()
147 } else if (expected.isTypeVariable()) { in isAssignableMatchTypeParameters()
193 if (expectedParam.isTypeVariable()) { in isAssignableMatchTypeParametersMatchingQName()
195 …if (!actualParam.isTypeVariable() || !actualParam.asTypeParameter().getName().equals(expectedParam… in isAssignableMatchTypeParametersMatchingQName()
227 if (type.isTypeVariable()) { in replaceTypeParam()
650 if (source.isReferenceType() && target.isTypeVariable()) { in inferTypes()
662 if (source.isWildcard() && target.isTypeVariable()) { in inferTypes()
666 if (source.isTypeVariable() && target.isTypeVariable()) { in inferTypes()
/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_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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/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/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/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-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DLambdaArgumentTypePlaceholder.java59 public boolean isTypeVariable() { in isTypeVariable() method in LambdaArgumentTypePlaceholder

123