Home
last modified time | relevance | path

Searched refs:resolvedType (Results 1 – 9 of 9) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DDefaultPackageTest.java134 ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(jpType); in aClassInDefaultPackageCanBeAccessedFromTheDefaultPackage() local
135 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromTheDefaultPackage()
145 ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(jpType); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageImportingIt() local
146 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageImportingIt()
155 …ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(JavaParser.parse… in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageWithoutImportingIt() local
156 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageWithoutImportingIt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java32 ResolvedType resolvedType = varType.resolve(); in resolveAPrimitive() local
34 assertEquals(ResolvedPrimitiveType.INT, resolvedType); in resolveAPrimitive()
42 ResolvedType resolvedType = varType.resolve(); in resolveAReferenceType() local
44 …renceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver), resolvedType); in resolveAReferenceType()
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DNameUtils.java233 PsiClass resolvedType = resolveSmaliType(project, scope, smaliType); in resolveSmaliToJavaType() local
234 if (resolvedType != null) { in resolveSmaliToJavaType()
235 String qualifiedName = resolvedType.getQualifiedName(); in resolveSmaliToJavaType()
252 PsiClass resolvedType = resolveSmaliType(element, smaliType); in resolveSmaliToPsiType() local
253 if (resolvedType != null) { in resolveSmaliToPsiType()
255 return factory.createType(resolvedType); in resolveSmaliToPsiType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolverTest.java64 ResolvedType resolvedType = methodDeclaration.getType().resolve(); in resolveArrayType() local
65 assertEquals("A[]", resolvedType.describe()); in resolveArrayType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java172 …ResolvedType resolvedType = JavaParserFacade.get(typeSolver).convertToUsage(javaparserType, javapa… in toResolvedType() local
173 if (resultClass.isInstance(resolvedType)) { in toResolvedType()
174 return resultClass.cast(resolvedType); in toResolvedType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DFieldAccessContext.java85 return typeUsage.map(resolvedType -> new Value(resolvedType, name)); in solveSymbolAsValue()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvisionBinding.java93 Optional<TypeMirror> resolvedType) { in forInjectConstructor() argument
103 if (!enclosingCxtorType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectConstructor()
104 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in forInjectConstructor()
DMembersInjectionBinding.java178 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in forInjectedType() argument
180 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectedType()
181 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in forInjectedType()
DDependencyRequest.java199 TypeMirror resolvedType) { in forRequiredResolvedVariable() argument
201 checkNotNull(resolvedType); in forRequiredResolvedVariable()
204 variableElement, resolvedType, qualifier, container, Optional.<String>absent()); in forRequiredResolvedVariable()