Home
last modified time | relevance | path

Searched refs:resolvedType (Results 1 – 19 of 19) 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/kotlinpoet/interop/ksp/src/main/kotlin/com/squareup/kotlinpoet/ksp/
DKsTypes.kt80 var resolvedType: KSType in toTypeName() variable
84 resolvedType = typeAlias.type.resolve() in toTypeName()
88 abbreviatedType = resolvedType, in toTypeName()
96 typeAlias = resolvedType.declaration as? KSTypeAlias ?: break in toTypeName()
100 val abbreviatedType = resolvedType in toTypeName()
/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/robolectric/resources/src/main/java/org/robolectric/res/android/
DDynamicRefTable.java146 byte resolvedType = DataType.REFERENCE.code(); in lookupResourceValue()
150 resolvedType = DataType.ATTRIBUTE.code(); in lookupResourceValue()
161 resolvedType = DataType.ATTRIBUTE.code(); in lookupResourceValue()
176 value.set(new Res_value(resolvedType, resIdRef.get())); in lookupResourceValue()
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java156 XVariableElement variableElement, XType resolvedType) { in forRequiredResolvedVariable() argument
157 return forRequiredResolvedVariable(toJavac(variableElement), toJavac(resolvedType)); in forRequiredResolvedVariable()
161 VariableElement variableElement, TypeMirror resolvedType) { in forRequiredResolvedVariable() argument
163 checkNotNull(resolvedType); in forRequiredResolvedVariable()
167 return newDependencyRequest(variableElement, resolvedType, qualifier); in forRequiredResolvedVariable()
DBindingFactory.java515 public MembersInjectionBinding membersInjectionBinding(XType type, Optional<XType> resolvedType) { in membersInjectionBinding() argument
517 if (!type.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in membersInjectionBinding()
518 checkIsSameErasedType(resolvedType.get(), type); in membersInjectionBinding()
519 type = resolvedType.get(); in membersInjectionBinding()
/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.java258 Optional<XType> resolvedType, in tryRegisterConstructor() argument
276 ProvisionBinding binding = bindingFactory.injectionBinding(constructorElement, resolvedType); in tryRegisterConstructor()
279 tryRegisterMembersInjectedType(typeElement, resolvedType, warnIfNotAlreadyGenerated); in tryRegisterConstructor()
314 XTypeElement typeElement, Optional<XType> resolvedType, boolean warnIfNotAlreadyGenerated) { in tryRegisterMembersInjectedType() argument
329 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/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVoiceInteractionSession.java236 public int startVoiceActivity(IBinder token, Intent intent, String resolvedType) { in startVoiceActivity() argument
246 public int startAssistantActivity(IBinder token, Intent intent, String resolvedType) { in startAssistantActivity() argument
/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()