Home
last modified time | relevance | path

Searched refs:getTypeDeclaration (Results 1 – 25 of 98) sorted by relevance

1234

/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt6 …Line 49) type.asReferenceType().getTypeDeclaration().isEnum() ==> com.github.javaparser.symbolsolv…
7 …ype.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
9 …Line 52) typeUsageOfTypeDeclaration.getTypeDeclaration().hasField(name) ==> com.github.javaparser.…
10 …sageOfTypeDeclaration.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
11 …Line 53) SymbolReference.solved(typeUsageOfTypeDeclaration.getTypeDeclaration().getField(name)) ==…
12 …Line 53) typeUsageOfTypeDeclaration.getTypeDeclaration().getField(name) ==> com.github.javaparser.…
13 …sageOfTypeDeclaration.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodResolutionLogic.txt11 …Line 57) MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, parameterTyp…
12 …Line 57) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
18 …Line 65) MethodResolutionLogic.solveMethodInType(objectClass.getTypeDeclaration(), name, parameter…
19 …Line 65) objectClass.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.…
40 …Line 97) MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTyp…
41 …Line 97) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
44 …Line 100) replaceParams(typeParameterValues, ancestor.getTypeDeclaration(), correspondingDeclarati…
45 …Line 100) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
49 …Line 107) MethodResolutionLogic.solveMethodInType(objectClass.getTypeDeclaration(), name, argument…
50 …Line 107) objectClass.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
[all …]
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt38 …Line 93) ancestor.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model…
39 …Line 93) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
40 …Line 94) ancestor.getTypeDeclaration().getField(name) ==> com.github.javaparser.symbolsolver.model…
41 …Line 94) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
49 …Line 111) superclass.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.mo…
50 …Line 111) superclass.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.…
54 …Line 121) fields.addAll(ancestor.getTypeDeclaration().getAllFields()) ==> java.util.ArrayList.addA…
55 …Line 121) ancestor.getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.mode…
56 …Line 121) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
73 …Line 159) otherTypeDeclaration.getTypeDeclaration().canBeAssignedTo(typeDeclaration) ==> com.githu…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnonymousClassDeclaration.txt22 …tion.asReferenceType().getAncestors().stream().filter(type -> type.getTypeDeclaration().isInterfac…
23 …tion.asReferenceType().getAncestors().stream().filter(type -> type.getTypeDeclaration().isInterfac…
27 …Line 79) type.getTypeDeclaration().isInterface() ==> com.github.javaparser.symbolsolver.model.decl…
28 …Line 79) type.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Referen…
50 …Line 120) getSuperClass().getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolv…
51 … 120) getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
53 …Line 123) getInterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields(…
54 …Line 123) getInterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields(…
57 Line 124) inteface.getTypeDeclaration().getAllFields().stream() ==> java.util.Collection.stream()
58 …Line 124) inteface.getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.mode…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_AnonymousClassDeclarationContext.txt16 …Line 56) MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTyp…
17 …Line 56) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
36 …nalType -> SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType…
43 …Line 112) SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType)…
44 …et(typeSolver).getTypeDeclaration(internalType) ==> com.github.javaparser.symbolsolver.javaparserm…
79 …Line 156) ancestor.getTypeDeclaration().getName().equals(name) ==> java.lang.String.equals(java.la…
80 …Line 156) ancestor.getTypeDeclaration().getName() ==> com.github.javaparser.symbolsolver.model.dec…
81 …Line 156) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
82 …Line 157) SymbolReference.solved(ancestor.getTypeDeclaration()) ==> com.github.javaparser.symbolso…
83 …Line 157) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_JavaParserTypeDeclarationAdapter.txt4 …Line 43) SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(wrappedNode)) …
5 …et(typeSolver).getTypeDeclaration(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparsermo…
11 …Line 51) SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType))…
12 …et(typeSolver).getTypeDeclaration(internalType) ==> com.github.javaparser.symbolsolver.javaparserm…
39 …Line 73) ancestor.getTypeDeclaration().internalTypes() ==> com.github.javaparser.symbolsolver.mode…
40 …Line 73) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
59 …Line 95) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
60 …Line 96) MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTyp…
61 …Line 97) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
Dcom_github_javaparser_symbolsolver_resolution_typesolvers_JavaParserTypeSolver.txt36 …Line 136) SymbolReference.solved(JavaParserFacade.get(this).getTypeDeclaration(astTypeDeclaration.…
37 …et(this).getTypeDeclaration(astTypeDeclaration.get()) ==> com.github.javaparser.symbolsolver.javap…
44 …Line 147) SymbolReference.solved(JavaParserFacade.get(this).getTypeDeclaration(astTypeDeclaration.…
45 …et(this).getTypeDeclaration(astTypeDeclaration.get()) ==> com.github.javaparser.symbolsolver.javap…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserInterfaceDeclaration.txt46 if (a.getTypeDeclaration() != this) {
47 fields.addAll(a.getTypeDeclaration().getAllFields());
51 …Line 202) a.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Reference…
52 …Line 203) fields.addAll(a.getTypeDeclaration().getAllFields()) ==> java.util.ArrayList.addAll(java…
53 …Line 203) a.getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.decla…
54 …Line 203) a.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Reference…
89 …Line 282) res.add(JavaParserFacade.get(typeSolver).getTypeDeclaration((com.github.javaparser.ast.b…
90getTypeDeclaration((com.github.javaparser.ast.body.TypeDeclaration) member) ==> com.github.javapar…
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceTypeImpl.txt25 …Line 100) this.getTypeDeclaration().hasAnnotation(FunctionalInterface.class.getCanonicalName()) ==…
26 …Line 100) this.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Refere…
51 …Line 140) getTypeDeclaration().getDeclaredMethods() ==> com.github.javaparser.symbolsolver.model.d…
52 …Line 140) getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.ReferenceTy…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt9 … this.getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
13 …Line 120) getInterfaces().forEach(interf -> interf.getTypeDeclaration().getAllFields().forEach(f -…
17 Line 120) interf.getTypeDeclaration().getAllFields().forEach(f -> {
20 …Line 120) interf.getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.…
21 …Line 120) interf.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Refe…
58 … 233) getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
102 …Line 341) res.add(JavaParserFacade.get(typeSolver).getTypeDeclaration((com.github.javaparser.ast.b…
103getTypeDeclaration((com.github.javaparser.ast.body.TypeDeclaration) member) ==> com.github.javapar…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt9 … this.getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
13 …Line 120) getInterfaces().forEach(interf -> interf.getTypeDeclaration().getAllFields().forEach(f -…
17 Line 120) interf.getTypeDeclaration().getAllFields().forEach(f -> {
20 …Line 120) interf.getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.…
21 …Line 120) interf.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Refe…
58 … 233) getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
102 …Line 341) res.add(JavaParserFacade.get(typeSolver).getTypeDeclaration((com.github.javaparser.ast.b…
103getTypeDeclaration((com.github.javaparser.ast.body.TypeDeclaration) member) ==> com.github.javapar…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserEnumDeclaration.txt45 Line 221) enumClass.getTypeDeclaration().getTypeParameters().get(0) ==> java.util.List.get(int)
46 …Line 221) enumClass.getTypeDeclaration().getTypeParameters() ==> com.github.javaparser.symbolsolve…
47 …Line 221) enumClass.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.R…
68 …Line 330) res.add(JavaParserFacade.get(typeSolver).getTypeDeclaration((com.github.javaparser.ast.b…
69getTypeDeclaration((com.github.javaparser.ast.body.TypeDeclaration) member) ==> com.github.javapar…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassDeclaration.txt38 … 144) getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
45 …Line 151) MethodResolutionLogic.solveMethodInType(interfaceDeclaration.getTypeDeclaration(), name,…
46 … interfaceDeclaration.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
71 … 185) getSuperClass().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
78 …Line 192) ContextHelper.solveMethodAsUsage(interfaceDeclaration.getTypeDeclaration(), name, argume…
79 … interfaceDeclaration.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeParameter.txt19 …typeSolver).getTypeDeclaration(jpTypeDeclaration) ==> com.github.javaparser.symbolsolver.javaparse…
23 …eSolver).getTypeDeclaration(jpTypeDeclaration.get()) ==> com.github.javaparser.symbolsolver.javapa…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionMethodResolutionLogic.java57 …eclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, par… in solveMethod()
65 …aration> ref = MethodResolutionLogic.solveMethodInType(objectClass.getTypeDeclaration(), name, par… in solveMethod()
97 …eclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, arg… in solveMethodAsUsage()
100 …hodUsage methodUsage = replaceParams(typeParameterValues, ancestor.getTypeDeclaration(), correspon… in solveMethodAsUsage()
107 …aration> ref = MethodResolutionLogic.solveMethodInType(objectClass.getTypeDeclaration(), name, arg… in solveMethodAsUsage()
109 …MethodUsage usage = replaceParams(typeParameterValues, objectClass.getTypeDeclaration(), ref.getCo… in solveMethodAsUsage()
DReflectionClassAdapter.java93 if (ancestor.getTypeDeclaration().hasField(name)) { in getField()
94 …reflectionFieldDeclaration = (ReflectionFieldDeclaration) ancestor.getTypeDeclaration().getField(n… in getField()
111 return superclass.getTypeDeclaration().hasField(name); in hasField()
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()
159 return otherTypeDeclaration.getTypeDeclaration().canBeAssignedTo(typeDeclaration); in isAssignableBy()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DJavaParserTypeDeclarationAdapter.java43 … return SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(wrappedNode)); in solveType()
51 … return SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType)); in solveType()
73 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
95 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
97 … .solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, staticOnly, typeSolver); in solveMethod()
DAbstractJavaParserContext.java171 …rn singletonList(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
181 result.add(bound.getType().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
185 …rn singletonList(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
187 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
190 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
DAnonymousClassDeclarationContext.java56 MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), in solveMethod()
113 JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType))); in solveType()
156 if (ancestor.getTypeDeclaration().getName().equals(name)) { in solveType()
157 return SymbolReference.solved(ancestor.getTypeDeclaration()); in solveType()
161 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
DSwitchEntryContext.java49 if (type.isReferenceType() && type.asReferenceType().getTypeDeclaration().isEnum()) { in solveSymbol()
52 if (typeUsageOfTypeDeclaration.getTypeDeclaration().hasField(name)) { in solveSymbol()
53 … return SymbolReference.solved(typeUsageOfTypeDeclaration.getTypeDeclaration().getField(name)); in solveSymbol()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/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 …ype.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
5 …Line 45) getFunctionalMethod(type.asReferenceType().getTypeDeclaration()) ==> com.github.javaparse…
6 …ype.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java81 .filter(type -> type.getTypeDeclaration().isInterface()) in getInterfaces()
122 getSuperClass().getTypeDeclaration().getAllFields(); in getAllFields()
126 .flatMap(inteface -> inteface.getTypeDeclaration().getAllFields().stream()) in getAllFields()
187 .map(typeMember -> JavaParserFacade.get(typeSolver).getTypeDeclaration(typeMember)) in internalTypes()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java154 typeDecl = classDecl.asReferenceType().getTypeDeclaration(); in solve()
187 return SymbolReference.solved(getTypeDeclaration(classByName.get())); in solve()
191 …return SymbolReference.solved(getTypeDeclaration(findContainingTypeDeclOrObjectCreationExpr(node))… in solve()
207 …Applicable(((ResolvedClassDeclaration) classDecl.asReferenceType().getTypeDeclaration()).getConstr… in solve()
521 public ResolvedReferenceTypeDeclaration getTypeDeclaration(Node node) { in getTypeDeclaration() method in JavaParserFacade
523 return getTypeDeclaration((TypeDeclaration) node); in getTypeDeclaration()
531 …public ResolvedReferenceTypeDeclaration getTypeDeclaration(ClassOrInterfaceDeclaration classOrInte… in getTypeDeclaration() method in JavaParserFacade
541 … return new ReferenceTypeImpl(getTypeDeclaration((ClassOrInterfaceDeclaration) node), typeSolver); in getTypeOfThisIn()
552 …public ResolvedReferenceTypeDeclaration getTypeDeclaration(com.github.javaparser.ast.body.TypeDecl… in getTypeDeclaration() method in JavaParserFacade
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java185 return create(result.getTypeDeclaration(), values); in replaceTypeVariables()
222 .filter(it -> it.getTypeDeclaration().isInterface()) in getAllInterfacesAncestors()
228 .filter(it -> it.getTypeDeclaration().isClass()) in getAllClassesAncestors()
283 public final ResolvedReferenceTypeDeclaration getTypeDeclaration() { in getTypeDeclaration() method in ResolvedReferenceType
348 String typeId = this.getTypeDeclaration().getId(); in typeParamValue()
/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_ReferenceType.txt66 …Line 196) create(result.getTypeDeclaration(), values, typeSolver) ==> com.github.javaparser.symbol…
67 …Line 196) result.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Refe…
84 …Line 248) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isInterface()).collect(C…
85 …Line 248) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isInterface()) ==> java.…
88 …Line 249) it.getTypeDeclaration().isInterface() ==> com.github.javaparser.symbolsolver.model.decla…
89 …Line 249) it.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Referenc…
91 …Line 254) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isClass()).collect(Colle…
92 …Line 254) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isClass()) ==> java.util…
95 …Line 255) it.getTypeDeclaration().isClass() ==> com.github.javaparser.symbolsolver.model.declarati…
96 …Line 255) it.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Referenc…
[all …]

1234