/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 77 SymbolReference<ResolvedTypeDeclaration> type = this.solveType(typeName); in solveSymbol() 91 ResolvedTypeDeclaration importedType = typeSolver.solveType(qName); in solveSymbol() 104 ResolvedTypeDeclaration importedType = typeSolver.solveType(typeName); in solveSymbol() 116 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 140 SymbolReference<ResolvedTypeDeclaration> ref = null; in solveType() 141 SymbolReference<ResolvedTypeDeclaration> outerMostRef = in solveType() 163 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType() 170 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType() 197 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType() 199 return SymbolReference.unsolved(ResolvedTypeDeclaration.class); in solveType() [all …]
|
D | AnonymousClassDeclarationContext.java | 8 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 98 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 103 Optional<SymbolReference<ResolvedTypeDeclaration>> exactMatch = in solveType() 116 Optional<SymbolReference<ResolvedTypeDeclaration>> recursiveMatch = in solveType() 130 Optional<SymbolReference<ResolvedTypeDeclaration>> typeArgumentsMatch = in solveType() 157 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
|
D | JavaParserTypeDeclarationAdapter.java | 42 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 72 ResolvedTypeDeclaration type = checkAncestorsForType(name, this.typeDeclaration); in solveType() 81 …private ResolvedTypeDeclaration checkAncestorsForType(String name, ResolvedReferenceTypeDeclaratio… in checkAncestorsForType() 84 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in checkAncestorsForType() 101 …ResolvedTypeDeclaration ancestorDeclaration = checkAncestorsForType(name, ancestor.getTypeDeclarat… in checkAncestorsForType()
|
D | ObjectCreationContext.java | 24 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 47 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 53 … for (ResolvedTypeDeclaration it : referenceType.getTypeDeclaration().internalTypes()) { in solveType()
|
D | ContextHelper.java | 20 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 37 …public static Optional<MethodUsage> solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, St… in solveMethodAsUsage()
|
D | EnumDeclarationContext.java | 23 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 66 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType()
|
D | AbstractMethodLikeDeclarationContext.java | 8 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 72 public final SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | SymbolSolver.java | 25 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 76 …public SymbolReference<? extends ResolvedTypeDeclaration> solveType(String name, Context context) { in solveType() 80 public SymbolReference<? extends ResolvedTypeDeclaration> solveType(String name, Node node) { in solveType() 96 public ResolvedTypeDeclaration solveType(com.github.javaparser.ast.type.Type type) { in solveType() 102 …SymbolReference<ResolvedTypeDeclaration> ref = JavaParserFactory.getContext(type, typeSolver).solv… in solveType() 127 …lReference<? extends ResolvedValueDeclaration> solveSymbolInType(ResolvedTypeDeclaration typeDecla… in solveSymbolInType() 165 …public SymbolReference<ResolvedTypeDeclaration> solveTypeInType(ResolvedTypeDeclaration typeDeclar… in solveTypeInType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 24 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 239 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("A"); in solveTypeRefToItself() 249 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("Foo"); in solveTypeRefToUnexisting() 259 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("Object"); in solveTypeRefToObject() 269 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("java.lang.Object"); in solveTypeRefToJavaLangObject() 279 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("B"); in solveTypeRefToInternalClass() 289 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("E"); in solveTypeRefToInternalEnum() 299 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("C"); in solveTypeRefToInternalOfInternalClass() 309 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("Super"); in solveTypeRefToAnotherClassInFile() 319 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("A.B"); in solveTypeRefToQualifiedInternalClass() [all …]
|
D | MethodContextResolutionTest.java | 22 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 55 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("LocalClass"); in solveTypeRefToLocalClass()
|
D | CompilationUnitContextResolutionTest.java | 23 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 179 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("OtherClassInSamePackage"); in solveTypeInSamePackage() 190 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("Assert"); in solveTypeImported() 200 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("org.junit.Assume"); in solveTypeNotImported()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
D | ThisExpr.java | 35 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 50 public class ThisExpr extends Expression implements Resolvable<ResolvedTypeDeclaration> { 167 public ResolvedTypeDeclaration resolve() { in resolve() 168 return getSymbolResolver().resolveDeclaration(this, ResolvedTypeDeclaration.class); in resolve()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/ |
D | ResolvedTypeDeclaration.java | 36 public interface ResolvedTypeDeclaration extends ResolvedDeclaration { interface 135 default ResolvedTypeDeclaration asType() { in asType()
|
D | ResolvedFieldDeclaration.java | 49 ResolvedTypeDeclaration declaringType(); in declaringType()
|
D | ResolvedDeclaration.java | 99 default ResolvedTypeDeclaration asType() { in asType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue232Test.java | 5 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 24 …SymbolReference<ResolvedTypeDeclaration> reference = context.solveType("OfPrimitive<Double, Double… in issue232()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionFieldDeclaration.java | 21 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 75 public ResolvedTypeDeclaration declaringType() { in declaringType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistFieldDeclaration.java | 21 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 89 public ResolvedTypeDeclaration declaringType() { in declaringType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserFieldDeclaration.java | 25 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 99 public ResolvedTypeDeclaration declaringType() { in declaringType()
|
D | JavaParserTypeAdapter.java | 15 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 90 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 132 return SymbolReference.unsolved(ResolvedTypeDeclaration.class); in solveType()
|
D | JavaParserClassDeclaration.java | 130 public ResolvedTypeDeclaration declaringType() { in getAllFields() 272 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 276 SymbolReference<ResolvedTypeDeclaration> ref = javaParserTypeAdapter.solveType(name); in solveType() 413 SymbolReference<ResolvedTypeDeclaration> ref = solveType(className); in toReferenceType()
|
D | JavaParserInterfaceDeclaration.java | 214 public ResolvedTypeDeclaration declaringType() { in getAllFields() 240 public SymbolReference<ResolvedTypeDeclaration> solveType(String name) { in solveType() 244 SymbolReference<ResolvedTypeDeclaration> ref = javaParserTypeAdapter.solveType(name); in solveType() 355 SymbolReference<? extends ResolvedTypeDeclaration> ref = null; in toReferenceType()
|
D | AstResolutionUtils.java | 28 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 89 …SymbolReference<ResolvedTypeDeclaration> ref = JavaParserFactory.getContext(annotationExpr, typeSo… in hasDirectlyAnnotation()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | JavaParserFacade.java | 147 ResolvedTypeDeclaration typeDecl = null; in solve() 154 …SymbolReference<ResolvedTypeDeclaration> sr = JavaParserFactory.getContext(classNode, typeSolver).… in solve() 169 public SymbolReference<ResolvedTypeDeclaration> solve(ThisExpr node) { in solve() 251 …SymbolReference<ResolvedTypeDeclaration> typeDeclarationSymbolReference = context.solveType(annota… in solve() 296 …SymbolReference<ResolvedTypeDeclaration> typeDeclaration = JavaParserFactory.getContext(node, type… in getType() 366 …SymbolReference<ResolvedTypeDeclaration> typeDeclarationSymbolReference = JavaParserFactory.getCon… in toMethodUsage() 507 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType(name); in convertToUsage() 511 ResolvedTypeDeclaration typeDeclaration = ref.getCorrespondingDeclaration(); in convertToUsage()
|
D | TypeExtractor.java | 18 import com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration; 178 …SymbolReference<ResolvedTypeDeclaration> typeAccessedStatically = JavaParserFactory.getContext(nod… in visit() 187 … SymbolReference<ResolvedTypeDeclaration> solve = facade.solve((ThisExpr) node.getScope()); in visit() 190 … ResolvedTypeDeclaration correspondingDeclaration = solve.getCorrespondingDeclaration(); in visit() 316 …ResolvedTypeDeclaration typeOfNode = facade.getTypeDeclaration(facade.findContainingTypeDecl(node)… in visit() 374 …SymbolReference<ResolvedTypeDeclaration> type = JavaParserFactory.getContext(nameExpr, typeSolver)… in visit()
|