/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/ |
D | NameLogicDisambiguationTest.java | 7 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 128 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameToSingleStaticImportDeclaration() 144 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameToStaticImportOnDemandDeclaration() 180 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsPackageNameLeadingToType() 212 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToField() 230 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToMethod() 248 ResolvedReferenceTypeDeclaration mockedD = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToInternalType() 250 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToInternalType() 265 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToCompilationError() 280 ResolvedReferenceTypeDeclaration mockedC = mock(ResolvedReferenceTypeDeclaration.class); in ambiguousNameInQualifiedNameRequalifiedAsExpressionName() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ |
D | ClassLoaderTypeSolver.java | 19 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 57 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { in tryToSolveType() 76 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType() 81 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType() 85 … SymbolReference<ResolvedReferenceTypeDeclaration> parent = tryToSolveType(parentName); in tryToSolveType() 87 … Optional<ResolvedReferenceTypeDeclaration> innerClass = parent.getCorrespondingDeclaration() in tryToSolveType() 91 … .orElseGet(() -> SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class)); in tryToSolveType() 93 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType() 98 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType()
|
D | CombinedTypeSolver.java | 24 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 87 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { in tryToSolveType() 90 SymbolReference<ResolvedReferenceTypeDeclaration> res = ts.tryToSolveType(name); in tryToSolveType() 100 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType() 104 public ResolvedReferenceTypeDeclaration solveType(String name) throws UnsolvedSymbolException { in solveType() 105 SymbolReference<ResolvedReferenceTypeDeclaration> res = tryToSolveType(name); in solveType()
|
D | MemoryTypeSolver.java | 19 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 34 private Map<String, ResolvedReferenceTypeDeclaration> declarationMap = new HashMap<>(); 73 public void addDeclaration(String name, ResolvedReferenceTypeDeclaration typeDeclaration) { in addDeclaration() 78 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { in tryToSolveType() 82 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType()
|
D | JarTypeSolver.java | 18 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 133 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { in tryToSolveType() 139 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in tryToSolveType() 147 public ResolvedReferenceTypeDeclaration solveType(String name) throws UnsolvedSymbolException { in solveType() 148 SymbolReference<ResolvedReferenceTypeDeclaration> ref = tryToSolveType(name); in solveType()
|
D | JavaParserTypeSolver.java | 22 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 60 …private final Cache<String, SymbolReference<ResolvedReferenceTypeDeclaration>> foundTypes = CacheB… 166 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { 171 … SymbolReference<ResolvedReferenceTypeDeclaration> result = tryToSolveTypeUncached(name); 182 private SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveTypeUncached(String name) { 226 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class);
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionTypeParameter.java | 20 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 90 if (container instanceof ResolvedReferenceTypeDeclaration) { in getContainerQualifiedName() 91 return ((ResolvedReferenceTypeDeclaration) container).getQualifiedName(); in getContainerQualifiedName() 99 if (container instanceof ResolvedReferenceTypeDeclaration) { in getContainerId() 100 return ((ResolvedReferenceTypeDeclaration) container).getId(); in getContainerId() 124 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType() 125 if (container instanceof ResolvedReferenceTypeDeclaration) { in containerType() 126 return Optional.of((ResolvedReferenceTypeDeclaration) container); in containerType()
|
D | ReflectionEnumConstantDeclaration.java | 4 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 32 …ResolvedReferenceTypeDeclaration typeDeclaration = new ReflectionEnumDeclaration(enumClass, typeSo… in getType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/ |
D | ResolvedTypeDeclaration.java | 45 default Set<ResolvedReferenceTypeDeclaration> internalTypes() { in internalTypes() 53 default ResolvedReferenceTypeDeclaration getInternalType(String name) { in getInternalType() 54 Optional<ResolvedReferenceTypeDeclaration> type = in getInternalType() 71 Optional<ResolvedReferenceTypeDeclaration> containerType(); in containerType() 167 default ResolvedReferenceTypeDeclaration asReferenceType() { in asReferenceType()
|
D | ResolvedReferenceTypeDeclaration.java | 40 public interface ResolvedReferenceTypeDeclaration extends ResolvedTypeDeclaration, interface 44 default ResolvedReferenceTypeDeclaration asReferenceType() { in asReferenceType() 224 default boolean canBeAssignedTo(ResolvedReferenceTypeDeclaration other) { in canBeAssignedTo() 232 boolean isAssignableBy(ResolvedReferenceTypeDeclaration other); in isAssignableBy()
|
/external/javaparser/javaparser-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/ |
D | TypeSolver.java | 20 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 55 SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name); in tryToSolveType() 60 default ResolvedReferenceTypeDeclaration solveType(String name) throws UnsolvedSymbolException { in solveType() 61 SymbolReference<ResolvedReferenceTypeDeclaration> ref = tryToSolveType(name); in solveType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeParameter.java | 88 public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other) { in isAssignableBy() 95 if (container instanceof ResolvedReferenceTypeDeclaration) { in getContainerQualifiedName() 96 return ((ResolvedReferenceTypeDeclaration) container).getQualifiedName(); in getContainerQualifiedName() 107 if (container instanceof ResolvedReferenceTypeDeclaration) { in getContainerId() 108 return ((ResolvedReferenceTypeDeclaration) container).getId(); in getContainerId() 126 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(typeSolver).getTypeDeclara… in getContainer() 216 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType() 218 if (container instanceof ResolvedReferenceTypeDeclaration) { in containerType() 219 return Optional.of((ResolvedReferenceTypeDeclaration) container); in containerType()
|
D | JavaParserInterfaceDeclaration.java | 145 public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other) { in isAssignableBy() 155 public boolean canBeAssignedTo(ResolvedReferenceTypeDeclaration other) { in canBeAssignedTo() 162 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() 171 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() 325 public Set<ResolvedReferenceTypeDeclaration> internalTypes() { in internalTypes() 326 Set<ResolvedReferenceTypeDeclaration> res = new HashSet<>(); in internalTypes() 336 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType()
|
D | JavaParserClassDeclaration.java | 223 public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other) { in isAssignableBy() 233 public boolean canBeAssignedTo(ResolvedReferenceTypeDeclaration other) { in canBeAssignedTo() 251 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() 388 public Set<ResolvedReferenceTypeDeclaration> internalTypes() { in internalTypes() 389 Set<ResolvedReferenceTypeDeclaration> res = new HashSet<>(); in internalTypes() 399 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ReferenceTypeImpl.java | 22 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 49 …public static ResolvedReferenceType undeterminedParameters(ResolvedReferenceTypeDeclaration typeDe… in undeterminedParameters() 56 …protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration, List<Reso… in create() 61 protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration) { in create() 65 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() 70 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> type… in ReferenceTypeImpl() 105 …SymbolReference<ResolvedReferenceTypeDeclaration> type = typeSolver.tryToSolveType(other.asPrimiti… in isAssignableBy() 202 …ResolvedReferenceTypeDeclaration objectType = typeSolver.solveType(Object.class.getCanonicalName()… in getAllAncestors() 224 …ResolvedReferenceTypeDeclaration objectType = typeSolver.solveType(Object.class.getCanonicalName()… in getDirectAncestors()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistTypeParameter.java | 77 if (this.container instanceof ResolvedReferenceTypeDeclaration) { in getContainerQualifiedName() 78 return ((ResolvedReferenceTypeDeclaration) this.container).getQualifiedName(); in getContainerQualifiedName() 109 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType() 110 if (container instanceof ResolvedReferenceTypeDeclaration) { in containerType() 111 return Optional.of((ResolvedReferenceTypeDeclaration) container); in containerType()
|
D | JavassistEnumDeclaration.java | 152 public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other) { in isAssignableBy() 173 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType() 210 public Set<ResolvedReferenceTypeDeclaration> internalTypes() { in internalTypes() 223 public ResolvedReferenceTypeDeclaration getInternalType(String name) { in getInternalType() 228 Optional<ResolvedReferenceTypeDeclaration> type = in getInternalType() 266 ResolvedReferenceTypeDeclaration fqnTypeDeclaration = typeSolver.solveType(fqn); in solveSymbolForFQN()
|
D | JavassistInterfaceDeclaration.java | 156 public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other) { in isAssignableBy() 242 ResolvedReferenceTypeDeclaration fqnTypeDeclaration = typeSolver.solveType(fqn); in solveSymbolForFQN() 251 public Optional<ResolvedReferenceTypeDeclaration> containerType() { in containerType() 256 public Set<ResolvedReferenceTypeDeclaration> internalTypes() { in internalTypes() 269 public ResolvedReferenceTypeDeclaration getInternalType(String name) { in getInternalType() 274 Optional<ResolvedReferenceTypeDeclaration> type = in getInternalType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedReferenceType.java | 28 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 53 protected ResolvedReferenceTypeDeclaration typeDeclaration; 60 public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration) { in ResolvedReferenceType() 64 …public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> … in ResolvedReferenceType() 298 public final ResolvedReferenceTypeDeclaration getTypeDeclaration() { in getTypeDeclaration() 417 …protected abstract ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration, … in create() 419 …protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration, ResolvedT… in create() 425 … protected abstract ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration); in create() 495 … private static List<ResolvedType> deriveParams(ResolvedReferenceTypeDeclaration typeDeclaration) { in deriveParams()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | FindingAllFieldsTest.java | 22 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 40 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFields() 50 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFieldsAndGenerics()
|
D | Issue1364Test.java | 13 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 52 public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { in setup() 58 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in setup()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | AnonymousClassesResolutionTest.java | 7 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 30 ResolvedReferenceTypeDeclaration cd = mock(ResolvedReferenceTypeDeclaration.class); in configureSymbolSolver()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ |
D | JarTypeSolverTest.java | 20 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration; 65 …ResolvedReferenceTypeDeclaration b = jarTypeSolver2.tryToSolveType("foo.zum.B").getCorrespondingDe… in dependenciesBetweenJarsTriggeringReferencesThatCannotBeResolved() 81 …ResolvedReferenceTypeDeclaration b = combinedTypeSolver.tryToSolveType("foo.zum.B").getCorrespondi… in dependenciesBetweenJarsTriggeringReferencesThatCanBeResolved()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | JavaParserTypeDeclarationAdapter.java | 31 private ResolvedReferenceTypeDeclaration typeDeclaration; 34 ResolvedReferenceTypeDeclaration typeDeclaration, in JavaParserTypeDeclarationAdapter() 81 … ResolvedTypeDeclaration checkAncestorsForType(String name, ResolvedReferenceTypeDeclaration decla… in checkAncestorsForType() 86 if (internalTypeDeclaration instanceof ResolvedReferenceTypeDeclaration) { in checkAncestorsForType() 87 …ResolvedReferenceTypeDeclaration resolvedReferenceTypeDeclaration = internalTypeDeclaration.asRefe… in checkAncestorsForType()
|
D | CompilationUnitContext.java | 161 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() 168 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() 195 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() 208 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() 217 …SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType("java.lang." + n… in solveType() 226 return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class); in solveType() 308 ResolvedReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(typeName); in fieldsExposedToChild()
|