Home
last modified time | relevance | path

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

123456

/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_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_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_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…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DSwitchEntryContext.java49 if (type.isReferenceType() && type.asReferenceType().getTypeDeclaration().isEnum()) { in solveSymbol()
52 … if (typeUsageOfTypeDeclaration.getTypeDeclaration().asEnum().hasEnumConstant(name)) { in solveSymbol()
53 …return SymbolReference.solved(typeUsageOfTypeDeclaration.getTypeDeclaration().asEnum().getEnumCons… in solveSymbol()
55 if (typeUsageOfTypeDeclaration.getTypeDeclaration().hasField(name)) { in solveSymbol()
56 … return SymbolReference.solved(typeUsageOfTypeDeclaration.getTypeDeclaration().getField(name)); in solveSymbol()
DJavaParserTypeDeclarationAdapter.java44 … return SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(wrappedNode)); in solveType()
52 … return SymbolReference.solved(JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType)); in solveType()
84 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in checkAncestorsForType()
101 …edTypeDeclaration ancestorDeclaration = checkAncestorsForType(name, ancestor.getTypeDeclaration()); in checkAncestorsForType()
121 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
127 … .solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, staticOnly); in solveMethod()
DAbstractJavaParserContext.java180 …rn singletonList(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
190 result.add(bound.getType().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
194 …rn singletonList(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
197 .map(ResolvedReferenceType::getTypeDeclaration) in findTypeDeclarations()
202 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
205 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration()); in findTypeDeclarations()
DAnonymousClassDeclarationContext.java55 MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), in solveMethod()
110 JavaParserFacade.get(typeSolver).getTypeDeclaration(internalType))); in solveType()
152 if (ancestor.getTypeDeclaration().getName().equals(name)) { in solveType()
153 return SymbolReference.solved(ancestor.getTypeDeclaration()); in solveType()
157 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/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/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()
108 if (ancestor.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/model/typesystem/
DReferenceTypeImpl.java150 … for (ResolvedMethodDeclaration methodDeclaration : getTypeDeclaration().getDeclaredMethods()) { in getDeclaredMethods()
219 boolean isClassWithSuperClassOrObject = this.getTypeDeclaration().isClass() in getDirectAncestors()
220 && (this.getTypeDeclaration().asClass().getSuperClass() == null || in getDirectAncestors()
221 …!this.getTypeDeclaration().asClass().getSuperClass().getQualifiedName().equals(Object.class.getCan… in getDirectAncestors()
222 …|| this.getTypeDeclaration().asClass().getQualifiedName().equals(Object.class.getCanonicalName())); in getDirectAncestors()
237 return new HashSet<>(getTypeDeclaration().getDeclaredFields()); in getDeclaredFields()
/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()
/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/
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 (TypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes()) { in solveType()
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 (TypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes()) { in solveType()
95 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
97 … .solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, staticOnly, typeSolver); in solveMethod()
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/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 …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-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java79 .filter(type -> type.getTypeDeclaration().isInterface()) in getInterfaces()
120 getSuperClass().getTypeDeclaration().getAllFields(); in getAllFields()
124 .flatMap(inteface -> inteface.getTypeDeclaration().getAllFields().stream()) in getAllFields()
185 .map(typeMember -> JavaParserFacade.get(typeSolver).getTypeDeclaration(typeMember)) in internalTypes()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java193 return create(result.getTypeDeclaration(), values); in replaceTypeVariables()
237 .filter(it -> it.getTypeDeclaration().isInterface()) in getAllInterfacesAncestors()
243 .filter(it -> it.getTypeDeclaration().isClass()) in getAllClassesAncestors()
298 public final ResolvedReferenceTypeDeclaration getTypeDeclaration() { in getTypeDeclaration() method in ResolvedReferenceType
366 String typeId = this.getTypeDeclaration().getId(); in typeParamValue()
386 …List<ResolvedMethodDeclaration> allMethods = new LinkedList<>(this.getTypeDeclaration().getDeclare… in getAllMethods()

123456