Home
last modified time | relevance | path

Searched refs:asReferenceType (Results 1 – 25 of 125) sorted by relevance

12345

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java105 …etCanonicalName(), bar.getSuperClass().typeParametersValues().get(0).asReferenceType().getQualifie… in testGetSuperclassWithGenericSimple()
166 …assertEquals(String.class.getCanonicalName(), barField.getType().asReferenceType().getQualifiedNam… in testGetFieldDeclarationTypeVariableInheritance()
327 …nature("com.github.javaparser.ast.body.CallableDeclaration.T").get().asReferenceType().getQualifie… in testGetSuperclassWithTypeParameters()
349 …nature("com.github.javaparser.ast.body.CallableDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
353 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
389 …ure("com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt.N").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
393 …javaparser.ast.nodeTypes.modifiers.NodeWithAccessModifiers.N").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
397 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavadoc.N").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
401 …re("com.github.javaparser.ast.nodeTypes.NodeWithSimpleName.N").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
405 …re("com.github.javaparser.ast.nodeTypes.NodeWithParameters.N").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistClassDeclarationTest.java234 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetSuperclassWithTypeParameters()
285 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
312 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
319 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
323 …ure("com.github.javaparser.ast.nodeTypes.NodeWithModifiers.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
327 …re("com.github.javaparser.ast.nodeTypes.NodeWithParameters.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
331 …ure("com.github.javaparser.ast.nodeTypes.NodeWithThrowable.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
335 …ure("com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
363 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
370 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserInterfaceDeclarationTest.java163 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetSuperclassWithTypeParameters()
185 assertEquals("java.lang.Integer", types.get(0).asReferenceType().getQualifiedName()); in getGetAncestorsWithTypeParameters()
186 assertEquals("Extends", types.get(1).asReferenceType().getQualifiedName()); in getGetAncestorsWithTypeParameters()
198 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
225 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
232 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
236 …ure("com.github.javaparser.ast.nodeTypes.NodeWithModifiers.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
240 …re("com.github.javaparser.ast.nodeTypes.NodeWithParameters.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
244 …ure("com.github.javaparser.ast.nodeTypes.NodeWithThrowable.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
248 …ure("com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
[all …]
DJavaParserEnumDeclarationTest.java178 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetSuperclassWithTypeParameters()
196 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
223 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
230 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
234 …ure("com.github.javaparser.ast.nodeTypes.NodeWithModifiers.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
238 …re("com.github.javaparser.ast.nodeTypes.NodeWithParameters.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
242 …ure("com.github.javaparser.ast.nodeTypes.NodeWithThrowable.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
246 …ure("com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
267 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
274 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
[all …]
DJavaParserClassDeclarationTest.java178 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetSuperclassWithTypeParameters()
199 …ySignature("com.github.javaparser.ast.body.BodyDeclaration.T").get().asReferenceType().getQualifie… in testGetAllSuperclassesWithTypeParameters()
226 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
233 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
237 …ure("com.github.javaparser.ast.nodeTypes.NodeWithModifiers.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
241 …re("com.github.javaparser.ast.nodeTypes.NodeWithParameters.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
245 …ure("com.github.javaparser.ast.nodeTypes.NodeWithThrowable.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
249 …ure("com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt.T").get().asReferenceType().getQualifie… in testGetInterfacesWithParameters()
270 …ature("com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
277 …ignature("com.github.javaparser.ast.nodeTypes.NodeWithName.T").get().asReferenceType().getQualifie… in testGetAllInterfacesWithParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnalyseNewJavaParserHelpersTest.java87 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in nodesTypeIsCorrect()
88 assertEquals(true, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in nodesTypeIsCorrect()
89 …assertEquals("T", type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getName()… in nodesTypeIsCorrect()
90 ….utils.PositionUtils.sortByBeginPosition(java.util.List<T>).T", type.asReferenceType().typeParamet… in nodesTypeIsCorrect()
91 …assertEquals(1, type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getBounds()… in nodesTypeIsCorrect()
92 …ResolvedTypeParameterDeclaration.Bound bound = type.asReferenceType().typeParametersValues().get(0… in nodesTypeIsCorrect()
DGenericsResolutionTest.java62 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in resolveFieldWithGenericTypeToString()
63 … assertEquals("java.lang.String", type.asReferenceType().typeParametersValues().get(0).describe()); in resolveFieldWithGenericTypeToString()
79 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in resolveFieldWithGenericTypeToDeclaredClass()
80 …assertEquals("me.tomassetti.symbolsolver.javaparser.Generics", type.asReferenceType().typeParamete… in resolveFieldWithGenericTypeToDeclaredClass()
96 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in resolveFieldWithGenericTypeToInteger()
97 …assertEquals("java.lang.Integer", type.asReferenceType().typeParametersValues().get(0).describe()); in resolveFieldWithGenericTypeToInteger()
132 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in resolveFieldOfGenericReferringToVariableType()
133 ResolvedType typeParam = type.asReferenceType().typeParametersValues().get(0); in resolveFieldOfGenericReferringToVariableType()
165 assertEquals(1, type.asReferenceType().typeParametersValues().size()); in resolveUsageOfGenericFieldIntermediateCase()
166 assertEquals(true, type.asReferenceType().typeParametersValues().get(0).isTypeVariable()); in resolveUsageOfGenericFieldIntermediateCase()
[all …]
/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_PrimitiveType_J9.txt24 …Line 107) other.asReferenceType().getQualifiedName().equals(boxTypeQName) ==> java.lang.String.equ…
25 …Line 107) other.asReferenceType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.…
26 …Line 107) other.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asR…
27 …Line 111) other.asReferenceType().getQualifiedName().equals(promotion.boxTypeQName) ==> java.lang.…
28 …Line 111) other.asReferenceType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.…
29 …Line 111) other.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asR…
Dcom_github_javaparser_symbolsolver_model_typesystem_PrimitiveType.txt24 …Line 107) other.asReferenceType().getQualifiedName().equals(boxTypeQName) ==> java.lang.String.equ…
25 …Line 107) other.asReferenceType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.…
26 …Line 107) other.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asR…
27 …Line 111) other.asReferenceType().getQualifiedName().equals(promotion.boxTypeQName) ==> java.lang.…
28 …Line 111) other.asReferenceType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.…
29 …Line 111) other.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asR…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DAbstractJavaParserContext.java161 … return singletonList(symbolReference.getCorrespondingDeclaration().asReferenceType()); in findTypeDeclarations()
180 …return singletonList(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaratio… in findTypeDeclarations()
182 … return singletonList(new ReflectionClassDeclaration(Object.class, typeSolver).asReferenceType()); in findTypeDeclarations()
186 … return singletonList(new ReflectionClassDeclaration(Object.class, typeSolver).asReferenceType()); in findTypeDeclarations()
190 result.add(bound.getType().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
194 …return singletonList(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDeclaratio… in findTypeDeclarations()
202 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
205 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
DFieldAccessContext.java54 …return new SymbolSolver(typeSolver).solveSymbolInType(typeOfThis.asReferenceType().getTypeDeclarat… in solveSymbol()
79 if (typeOfScope.asReferenceType().getTypeDeclaration().isEnum()) { in solveSymbolAsValue()
80 …umDeclaration enumDeclaration = (ResolvedEnumDeclaration)typeOfScope.asReferenceType().getTypeDecl… in solveSymbolAsValue()
85 Optional<ResolvedType> typeUsage = typeOfScope.asReferenceType().getFieldType(name); in solveSymbolAsValue()
DMethodCallExprContext.java61 … Optional<ResolvedType> res = typeOfScope.asReferenceType().getGenericParameterByName(name); in solveGenericType()
226 ResolvedReferenceType sourceRefType = source.asReferenceType(); in inferTypes()
227 ResolvedReferenceType targetRefType = target.asReferenceType(); in inferTypes()
370 …if (actualType.isReferenceType() && actualType.asReferenceType().typeParametersValues().size() > 0… in matchTypeParameters()
372 for (ResolvedType tp : expectedType.asReferenceType().typeParametersValues()) { in matchTypeParameters()
373 …matchTypeParameters(tp, actualType.asReferenceType().typeParametersValues().get(i), matchedTypePar… in matchTypeParameters()
430 …for (Pair<ResolvedTypeParameterDeclaration, ResolvedType> entry : type.asReferenceType().getTypePa… in usingParameterTypesFromScope()
431 …if (entry.a.declaredOnType() && scope.asReferenceType().getGenericParameterByName(entry.a.getName(… in usingParameterTypesFromScope()
432 …type = type.replaceTypeVariables(entry.a, scope.asReferenceType().getGenericParameterByName(entry.… in usingParameterTypesFromScope()
/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_LambdaExprContext.txt16 …Line 77) inferenceContext.addPair(lambdaType, new ReferenceTypeImpl(lambdaType.asReferenceType().g…
17 …Line 77) lambdaType.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.…
18 …Line 77) lambdaType.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
45 …Line 114) lambdaType.asReferenceType().getTypeParametersMap() ==> com.github.javaparser.symbolsolv…
46 …Line 114) lambdaType.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
50 …Line 116) t.asReferenceType().typeParametersMap().getValue(entry._1) ==> com.github.javaparser.sym…
51 …Line 116) t.asReferenceType().typeParametersMap() ==> com.github.javaparser.symbolsolver.model.typ…
52 …Line 116) t.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asRefer…
57 …Line 121) t.asReferenceType().typeParametersMap().getValue(lambdaType.asTypeParameter()) ==> com.g…
58 …Line 121) t.asReferenceType().typeParametersMap() ==> com.github.javaparser.symbolsolver.model.typ…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt7 …Line 66) typeOfScope.asReferenceType().getGenericParameterByName(name) ==> com.github.javaparser.s…
8 …Line 66) typeOfScope.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
81 …ionLogic.solveMethodInType(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDecl…
82 …Line 178) typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaration() ==> com…
83 …sWildcard().getBoundedType().asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesy…
92 …Line 187) MethodResolutionLogic.solveMethodInType(bound.getType().asReferenceType().getTypeDeclara…
93 …Line 187) bound.getType().asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbols…
94 …Line 187) bound.getType().asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesyste…
99 …ionLogic.solveMethodInType(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDecl…
100 …Line 194) typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDeclaration() ==> com…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_FieldAccessContext.txt7 …Line 55) new SymbolSolver(typeSolver).solveSymbolInType(typeOfThis.asReferenceType().getTypeDeclar…
8 …Line 55) typeOfThis.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.…
9 …Line 55) typeOfThis.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
29 …Line 80) typeOfScope.asReferenceType().getFieldType(name) ==> com.github.javaparser.symbolsolver.m…
30 …Line 80) typeOfScope.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnonymousClassDeclaration.txt21 …) superTypeDeclaration.asReferenceType() ==> com.github.javaparser.symbolsolver.model.declarations…
22 …Line 76) superTypeDeclaration.asReferenceType().getAncestors().stream().filter(type -> type.getTyp…
23 …Line 76) superTypeDeclaration.asReferenceType().getAncestors().stream().filter(type -> type.getTyp…
24 …Line 76) superTypeDeclaration.asReferenceType().getAncestors().stream() ==> java.util.Collection.s…
25 …Line 76) superTypeDeclaration.asReferenceType().getAncestors() ==> com.github.javaparser.symbolsol…
26 …) superTypeDeclaration.asReferenceType() ==> com.github.javaparser.symbolsolver.model.declarations…
35 …renceType>builder().add(getSuperClass()).addAll(superTypeDeclaration.asReferenceType().getAncestor…
36 …renceType>builder().add(getSuperClass()).addAll(superTypeDeclaration.asReferenceType().getAncestor…
40 …Line 103) superTypeDeclaration.asReferenceType().getAncestors() ==> com.github.javaparser.symbolso…
41 …) superTypeDeclaration.asReferenceType() ==> com.github.javaparser.symbolsolver.model.declarations…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt6 …Line 49) type.asReferenceType().getTypeDeclaration().isEnum() ==> com.github.javaparser.symbolsolv…
7 …Line 49) type.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.…
8 …Line 49) type.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asRef…
/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_FunctionalInterfaceLogic.txt2 …Line 44) type.asReferenceType().getTypeDeclaration().isInterface() ==> com.github.javaparser.symbo…
3 …Line 44) type.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.…
4 …Line 44) type.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asRef…
5 …Line 45) getFunctionalMethod(type.asReferenceType().getTypeDeclaration()) ==> com.github.javaparse…
6 …Line 45) type.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.…
7 …Line 45) type.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asRef…
/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.java66 Optional<Type> res = typeOfScope.asReferenceType().getGenericParameterByName(name); in solveGenericType()
178 …ionLogic.solveMethodInType(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDecl… in solveMethod()
187 …ation> res = MethodResolutionLogic.solveMethodInType(bound.getType().asReferenceType().getTypeDecl… in solveMethod()
194 …ionLogic.solveMethodInType(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDecl… in solveMethod()
196 …return MethodResolutionLogic.solveMethodInType(typeOfScope.asReferenceType().getTypeDeclaration(),… in solveMethod()
200 …return MethodResolutionLogic.solveMethodInType(typeOfScope.asReferenceType().getTypeDeclaration(),… in solveMethod()
268 ReferenceType sourceRefType = source.asReferenceType(); in inferTypes()
269 ReferenceType targetRefType = target.asReferenceType(); in inferTypes()
405 if (actualType.asReferenceType().typeParametersValues().size() > 0) { in matchTypeParameters()
407 for (Type tp : expectedType.asReferenceType().typeParametersValues()) { in matchTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DTypeSameAsType.java69 && S.asReferenceType().toRawType().equals(T.asReferenceType().toRawType())) { in reduce()
71 List<ResolvedType> Bs = S.asReferenceType().typeParametersValues(); in reduce()
72 List<ResolvedType> As = T.asReferenceType().typeParametersValues(); in reduce()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeHelper.java119 … areCompatibleThroughWideningPrimitiveConversion(toUnboxedType(s.asReferenceType()), t)) { in isCompatibleInALooseInvocationContext()
140 ….stream(ResolvedPrimitiveType.values()).anyMatch(pt -> referenceType.asReferenceType().getQualifie… in isUnboxable()
152 …edPrimitiveType.values()).filter(pt -> pt.getBoxTypeQName().equals(s.asReferenceType().getQualifie… in areCompatibleThroughWideningReferenceConversion()
177 for (ResolvedType tp : type.asReferenceType().typeParametersValues()) { in usedInferenceVariables()
297 boolean wildcardParameterized = T.asReferenceType().typeParametersValues().stream() in groundTargetTypeOfLambda()
312 … return new Pair<>(nonWildcardParameterizationOf(T.asReferenceType(), typeSolver), used18_5_3); in groundTargetTypeOfLambda()
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DFunctionalInterfaceLogic.java44 if (type.isReferenceType() && type.asReferenceType().getTypeDeclaration().isInterface()) { in getFunctionalMethod()
45 return getFunctionalMethod(type.asReferenceType().getTypeDeclaration()); in getFunctionalMethod()
71 …if (type.isReferenceType() && type.asReferenceType().getTypeDeclaration().hasAnnotation(Functional… in isFunctionalInterfaceType()
DInferenceContext.java68 ResolvedReferenceType formalTypeAsReference = formalType.asReferenceType(); in registerCorrespondance()
69 ResolvedReferenceType actualTypeAsReference = actualType.asReferenceType(); in registerCorrespondance()
85 actualTypeAsReference = correspondingFormalType.get(0).asReferenceType(); in registerCorrespondance()
181 … return type.asReferenceType().transformTypeParameters(tp -> placeInferenceVariables(tp)); in placeInferenceVariables()
200 return type.asReferenceType().transformTypeParameters(tp -> resolve(tp)); in resolve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicDisambiguationTest.java214 when(mockedC.asReferenceType()).thenReturn(mockedC); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToField()
232 when(mockedC.asReferenceType()).thenReturn(mockedC); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToMethod()
251 when(mockedC.asReferenceType()).thenReturn(mockedC); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToInternalType()
266 when(mockedC.asReferenceType()).thenReturn(mockedC); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToCompilationError()
282 when(mockedC.asReferenceType()).thenReturn(mockedC); in ambiguousNameInQualifiedNameRequalifiedAsExpressionName()
303 when(mockedMyQualified.asReferenceType()).thenReturn(mockedMyQualified); in packageOrTypeNameSimpleNameMatchingType()
335 when(mockedMyQualified.asReferenceType()).thenReturn(mockedMyQualified); in packageOrTypeNameQualifiedNameMatchingType()
/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.java70 ReferenceType formalTypeAsReference = formalType.asReferenceType(); in registerCorrespondance()
71 ReferenceType actualTypeAsReference = actualType.asReferenceType(); in registerCorrespondance()
87 actualTypeAsReference = correspondingFormalType.get(0).asReferenceType(); in registerCorrespondance()
173 … return type.asReferenceType().transformTypeParameters(tp -> placeInferenceVariables(tp)); in placeInferenceVariables()
192 return type.asReferenceType().transformTypeParameters(tp -> resolve(tp)); in resolve()

12345