Home
last modified time | relevance | path

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

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DDefaultPackageTest.java141 ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(jpType); in aClassInDefaultPackageCanBeAccessedFromTheDefaultPackage() local
142 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromTheDefaultPackage()
152 ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(jpType); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageImportingIt()
153 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageImportingIt()
164 …ResolvedType resolvedType = JavaParserFacade.get(memoryTypeSolver).convertToUsage(parse(code).getC… in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageWithoutImportingIt()
165 assertEquals("B", resolvedType.asReferenceType().getQualifiedName()); in aClassInDefaultPackageCanBeAccessedFromOutsideTheDefaultPackageWithoutImportingIt()
DJavaParserFacadeResolutionTest.java171 ResolvedType resolvedType = facade.classToResolvedType(clazz); in classToResolvedTypeViaReflection() local
173 assertNotNull(resolvedType); in classToResolvedTypeViaReflection()
174 assertTrue(resolvedType.isReferenceType()); in classToResolvedTypeViaReflection()
175 assertEquals(clazz.getCanonicalName(), resolvedType.asReferenceType().getQualifiedName()); in classToResolvedTypeViaReflection()
DMethodsResolutionTest.java453 ReferenceTypeImpl resolvedType = in complexTypeSolving() local
456 = ((JavaParserClassDeclaration) resolvedType.getTypeDeclaration()).getWrappedNode(); in complexTypeSolving()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java33 ResolvedType resolvedType = varType.resolve(); in resolveAPrimitive() local
35 assertEquals(ResolvedPrimitiveType.INT, resolvedType); in resolveAPrimitive()
43 ResolvedType resolvedType = varType.resolve(); in resolveAReferenceType() local
45 …renceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver), resolvedType); in resolveAReferenceType()
/external/perfetto/infra/perfetto.dev/src/
Dgen_proto_reference.js108 if (field.resolvedType) {
112 if (getFullName(field.resolvedType) === 'TraceConfig') {
115 subTypes.push(field.resolvedType);
116 type = `[${type}](#${getFullName(field.resolvedType)})`;
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DDynamicRefTable.java134 byte resolvedType = DataType.REFERENCE.code(); in lookupResourceValue()
138 resolvedType = DataType.ATTRIBUTE.code(); in lookupResourceValue()
149 resolvedType = DataType.ATTRIBUTE.code(); in lookupResourceValue()
164 value.set(new Res_value(resolvedType, resIdRef.get())); in lookupResourceValue()
/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/dagger2/java/dagger/internal/codegen/binding/
DBindingFactory.java120 ExecutableElement constructorElement, Optional<TypeMirror> resolvedType) { in injectionBinding() argument
131 if (!constructedType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in injectionBinding()
132 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in injectionBinding()
177 TypeElement factory, Optional<TypeMirror> resolvedType) { in assistedFactoryBinding() argument
181 if (!factoryType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in assistedFactoryBinding()
182 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in assistedFactoryBinding()
547 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in membersInjectionBinding() argument
549 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in membersInjectionBinding()
550 DeclaredType resolved = asDeclared(resolvedType.get()); in membersInjectionBinding()
DDependencyRequestFactory.java133 VariableElement variableElement, TypeMirror resolvedType) { in forRequiredResolvedVariable() argument
135 checkNotNull(resolvedType); in forRequiredResolvedVariable()
139 return newDependencyRequest(variableElement, resolvedType, qualifier); in forRequiredResolvedVariable()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DDeprecatedConstructType1456Test.java33 … JavaType resolvedType = MAPPER.getTypeFactory().constructType(entityType, ImplController.class); in testGenericResolutionUsingDeprecated() local
34 assertEquals(ImplEntity.class, resolvedType.getRawClass()); in testGenericResolutionUsingDeprecated()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolverTest.java55 ResolvedType resolvedType = methodDeclaration.getType().resolve(); in resolveArrayType() local
56 assertEquals("A[]", resolvedType.describe()); in resolveArrayType()
DIssue1668Test.java48 ResolvedType resolvedType = variableDeclarationExpr.calculateResolvedType(); in testResolveArrayDeclaration() local
49 assertEquals("java.lang.String[]", resolvedType.describe()); in testResolveArrayDeclaration()
/external/dagger2/java/dagger/internal/codegen/validation/
DInjectBindingRegistryImpl.java246 Optional<TypeMirror> resolvedType, in tryRegisterConstructor() argument
259 ProvisionBinding binding = bindingFactory.injectionBinding(constructorElement, resolvedType); in tryRegisterConstructor()
262 tryRegisterMembersInjectedType(typeElement, resolvedType, warnIfNotAlreadyGenerated); in tryRegisterConstructor()
277 Optional<TypeMirror> resolvedType, in tryRegisterMembersInjectedType() argument
290 MembersInjectionBinding binding = bindingFactory.membersInjectionBinding(type, resolvedType); in tryRegisterMembersInjectedType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DFieldAccessContext.java86 return typeUsage.map(resolvedType -> new Value(resolvedType, name)); in solveSymbolAsValue()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java240 …ResolvedType resolvedType = JavaParserFacade.get(typeSolver).convertToUsage(javaparserType, javapa… in toResolvedType() local
241 if (resultClass.isInstance(resolvedType)) { in toResolvedType()
242 return resultClass.cast(resolvedType); in toResolvedType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeFactory.java1355 protected JavaType _applyModifiers(Type srcType, JavaType resolvedType) in _applyModifiers() argument
1358 return resolvedType; in _applyModifiers()
1360 JavaType resultType = resolvedType; in _applyModifiers()