Home
last modified time | relevance | path

Searched refs:asWildcard (Results 1 – 25 of 37) 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_typesystem_parametrization_TypeParameterValueProvider.txt8 …Line 35) type.asWildcard().isBounded() ==> com.github.javaparser.symbolsolver.model.typesystem.Wil…
9 …Line 35) type.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildcard
10 …Line 36) type.asWildcard().isExtends() ==> com.github.javaparser.symbolsolver.model.typesystem.Wil…
11 …Line 36) type.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildcard
12 …Line 37) Wildcard.extendsBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedTyp…
13 …Line 37) useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType()) ==> com.github.ja…
14 …Line 37) type.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesyste…
15 …Line 37) type.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildcard
16 …Line 39) Wildcard.superBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType(…
17 …Line 39) useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType()) ==> com.github.ja…
[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_InferenceContext.txt63 …Line 116) formalType.asWildcard().isBounded() ==> com.github.javaparser.symbolsolver.model.typesys…
64 …Line 116) formalType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asW…
65 …Line 117) ((InferenceVariableType) actualType).registerEquivalentType(formalType.asWildcard().getB…
66 …Line 117) formalType.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.ty…
67 …Line 117) formalType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asW…
68 …Line 118) formalType.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.ty…
69 …Line 118) formalType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asW…
70 …Line 119) ((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentTyp…
71 …Line 119) formalType.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.ty…
72 …Line 119) formalType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asW…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java116 … if ((actualType instanceof InferenceVariableType) && formalType.asWildcard().isBounded()) { in registerCorrespondance()
117 …((InferenceVariableType) actualType).registerEquivalentType(formalType.asWildcard().getBoundedType… in registerCorrespondance()
118 if (formalType.asWildcard().getBoundedType() instanceof InferenceVariableType) { in registerCorrespondance()
119 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualTy… in registerCorrespondance()
123 Wildcard formalWildcard = formalType.asWildcard(); in registerCorrespondance()
124 Wildcard actualWildcard = actualType.asWildcard(); in registerCorrespondance()
127 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualWi… in registerCorrespondance()
129 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualWi… in registerCorrespondance()
135 if (formalType.asWildcard().isBounded()){ in registerCorrespondance()
136 registerCorrespondance(formalType.asWildcard().getBoundedType(), actualType); in registerCorrespondance()
[all …]
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java114 … if ((actualType instanceof InferenceVariableType) && formalType.asWildcard().isBounded()) { in registerCorrespondance()
115 …((InferenceVariableType) actualType).registerEquivalentType(formalType.asWildcard().getBoundedType… in registerCorrespondance()
116 if (formalType.asWildcard().getBoundedType() instanceof InferenceVariableType) { in registerCorrespondance()
117 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualTy… in registerCorrespondance()
121 ResolvedWildcard formalWildcard = formalType.asWildcard(); in registerCorrespondance()
122 ResolvedWildcard actualWildcard = actualType.asWildcard(); in registerCorrespondance()
125 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualWi… in registerCorrespondance()
127 …((InferenceVariableType) formalType.asWildcard().getBoundedType()).registerEquivalentType(actualWi… in registerCorrespondance()
133 if (formalType.asWildcard().isBounded()) { in registerCorrespondance()
134 registerCorrespondance(formalType.asWildcard().getBoundedType(), actualType); in registerCorrespondance()
[all …]
/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/parametrization/
DTypeParameterValueProvider.java35 if (type.isWildcard() && type.asWildcard().isBounded()) { in useThisTypeParametersOnTheGivenType()
36 if (type.asWildcard().isExtends()) { in useThisTypeParametersOnTheGivenType()
37 …return Wildcard.extendsBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType(… in useThisTypeParametersOnTheGivenType()
39 …return Wildcard.superBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType())… in useThisTypeParametersOnTheGivenType()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParameterValueProvider.java56 if (type.isWildcard() && type.asWildcard().isBounded()) { in useThisTypeParametersOnTheGivenType()
57 if (type.asWildcard().isExtends()) { in useThisTypeParametersOnTheGivenType()
58 …ResolvedWildcard.extendsBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType… in useThisTypeParametersOnTheGivenType()
60 …n ResolvedWildcard.superBound(useThisTypeParametersOnTheGivenType(type.asWildcard().getBoundedType… in useThisTypeParametersOnTheGivenType()
/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_contexts_MethodCallExprContext.txt77 …Line 177) typeOfScope.asWildcard().isExtends() ==> com.github.javaparser.symbolsolver.model.typesy…
78 …Line 177) typeOfScope.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as…
79 …Line 177) typeOfScope.asWildcard().isSuper() ==> com.github.javaparser.symbolsolver.model.typesyst…
80 …Line 177) typeOfScope.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as…
81 …Line 178) MethodResolutionLogic.solveMethodInType(typeOfScope.asWildcard().getBoundedType().asRefe…
82 …Line 178) typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaration() ==> com…
83 …Line 178) typeOfScope.asWildcard().getBoundedType().asReferenceType() ==> com.github.javaparser.sy…
84 …Line 178) typeOfScope.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.t…
85 …Line 178) typeOfScope.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as…
162 …Line 280) target.asWildcard().isBounded() ==> com.github.javaparser.symbolsolver.model.typesystem.…
[all …]
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceTypeImpl.txt46 …Line 126) other.asWildcard().isExtends() ==> com.github.javaparser.symbolsolver.model.typesystem.W…
47 …Line 126) other.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildca…
48 …Line 127) isAssignableBy(other.asWildcard().getBoundedType()) ==> com.github.javaparser.symbolsolv…
49 …Line 127) other.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesys…
50 …Line 127) other.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildca…
Dcom_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt124 …Line 214) expectedParam.asWildcard().isExtends() ==> com.github.javaparser.symbolsolver.model.type…
125 …Line 214) expectedParam.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.
126 …Line 215) isAssignableMatchTypeParameters(expectedParam.asWildcard().getBoundedType(), actual, mat…
127 …Line 215) expectedParam.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model…
128 …Line 215) expectedParam.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.
388 …Line 641) target.asWildcard().isBounded() ==> com.github.javaparser.symbolsolver.model.typesystem.…
389 …Line 641) target.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildc…
390 …Line 642) inferTypes(source, target.asWildcard().getBoundedType(), mappings) ==> com.github.javapa…
391 …Line 642) target.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesy…
392 …Line 642) target.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildc…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt30 …Line 95) LambdaConstraintType.bound(argType.asWildcard().getBoundedType()) ==> com.github.javapars…
31 …Line 95) argType.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesy…
32 …Line 95) argType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildc…
Dcom_github_javaparser_symbolsolver_model_typesystem_LazyType.txt30 …Line 95) getType().asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWil…
/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.java177 if (typeOfScope.asWildcard().isExtends() || typeOfScope.asWildcard().isSuper()) { in solveMethod()
178 …return MethodResolutionLogic.solveMethodInType(typeOfScope.asWildcard().getBoundedType().asReferen… in solveMethod()
280 if (target.asWildcard().isBounded()) { in inferTypes()
281 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
287 if (source.asWildcard().isBounded() && target.asWildcard().isBounded()){ in inferTypes()
288 … inferTypes(source.asWildcard().getBoundedType(), target.asWildcard().getBoundedType(), mappings); in inferTypes()
301 if(target.asWildcard().isBounded()){ in inferTypes()
302 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
313 if (source.asWildcard().isBounded()){ in inferTypes()
314 inferTypes(source.asWildcard().getBoundedType(), target, mappings); in inferTypes()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DTypeContainedByType.java35 if (T.isWildcard() && !T.asWildcard().isBounded()) { in reduce()
41 if (T.isWildcard() && T.asWildcard().isExtends()) { in reduce()
56 if (T.isWildcard() && T.asWildcard().isSuper()) { in reduce()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeHelper.java346 …if (Ti == null && Ai.isWildcard() && Ai.asWildcard().mention(originalType.getTypeDeclaration().get… in nonWildcardParameterizationOf()
358 if (Ai.isWildcard() && !Ai.asWildcard().isBounded()) { in nonWildcardParameterizationOf()
364 else if (Ai.isWildcard() && Ai.asWildcard().isUpperBounded()) { in nonWildcardParameterizationOf()
365 ResolvedType Ui = Ai.asWildcard().getBoundedType(); in nonWildcardParameterizationOf()
371 else if (Ai.isWildcard() && Ai.asWildcard().isLowerBounded()) { in nonWildcardParameterizationOf()
372 Ti = Ai.asWildcard().getBoundedType(); in nonWildcardParameterizationOf()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java238 if (target.asWildcard().isBounded()) { in inferTypes()
239 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
245 if (source.asWildcard().isBounded() && target.asWildcard().isBounded()){ in inferTypes()
246 … inferTypes(source.asWildcard().getBoundedType(), target.asWildcard().getBoundedType(), mappings); in inferTypes()
265 if(target.asWildcard().isBounded()){ in inferTypes()
266 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
277 if (source.asWildcard().isBounded()){ in inferTypes()
278 inferTypes(source.asWildcard().getBoundedType(), target, mappings); in inferTypes()
DAbstractJavaParserContext.java179 if (typeOfScope.asWildcard().isExtends() || typeOfScope.asWildcard().isSuper()) { in findTypeDeclarations()
180 …return singletonList(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaratio… in findTypeDeclarations()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DWildcardUsageTest.java170 assertTrue(unbounded == unbounded.asWildcard()); in testAsWildcard()
171 assertTrue(superFoo == superFoo.asWildcard()); in testAsWildcard()
172 assertTrue(superBar == superBar.asWildcard()); in testAsWildcard()
173 assertTrue(extendsFoo == extendsFoo.asWildcard()); in testAsWildcard()
174 assertTrue(extendsBar == extendsBar.asWildcard()); in testAsWildcard()
/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.java94 public Wildcard asWildcard() { in asWildcard() method in LazyType
95 return getType().asWildcard(); in asWildcard()
DReferenceTypeImpl.java126 } else if (other.asWildcard().isExtends()) { in isAssignableBy()
127 return isAssignableBy(other.asWildcard().getBoundedType()); in isAssignableBy()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java95 public ResolvedWildcard asWildcard() { in asWildcard() method in LazyType
96 return getType().asWildcard(); in asWildcard()
DReferenceTypeImpl.java136 } else if (other.asWildcard().isExtends()) { in isAssignableBy()
137 return isAssignableBy(other.asWildcard().getBoundedType()); in isAssignableBy()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java200 if (expectedParam.asWildcard().isExtends()) { in isAssignableMatchTypeParametersMatchingQName()
201 …return isAssignableMatchTypeParameters(expectedParam.asWildcard().getBoundedType(), actual, matche… in isAssignableMatchTypeParametersMatchingQName()
640 if (target.asWildcard().isBounded()) { in inferTypes()
641 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
655 if (source.asWildcard().isBounded()) { in inferTypes()
656 inferTypes(source.asWildcard().getBoundedType(), target, mappings); in inferTypes()
/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.java214 if (expectedParam.asWildcard().isExtends()) { in isAssignableMatchTypeParametersMatchingQName()
215 …return isAssignableMatchTypeParameters(expectedParam.asWildcard().getBoundedType(), actual, matche… in isAssignableMatchTypeParametersMatchingQName()
641 if (target.asWildcard().isBounded()) { in inferTypes()
642 inferTypes(source, target.asWildcard().getBoundedType(), mappings); in inferTypes()
656 if (source.asWildcard().isBounded()){ in inferTypes()
657 inferTypes(source.asWildcard().getBoundedType(), target, mappings); in inferTypes()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTypeVariables.java162 WildcardType wildcard = MoreTypes.asWildcard(substitutedParameterType); in canAssignStaticMethodResult()
230 comp = MoreTypes.asWildcard(comp).getExtendsBound(); in visitArray()
/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.java125 default Wildcard asWildcard() { in asWildcard() method

12