Home
last modified time | relevance | path

Searched refs:addTypeVariable (Results 1 – 25 of 30) sorted by relevance

12

/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DTypeVariableNameTest.kt31 .addTypeVariable(TypeVariableName("T")) in oneTypeVariableNoBounds()
45 .addTypeVariable(TypeVariableName("T")) in twoTypeVariablesNoBounds()
46 .addTypeVariable(TypeVariableName("U")) in twoTypeVariablesNoBounds()
60 .addTypeVariable(TypeVariableName("T", Serializable::class)) in oneTypeVariableOneBound()
74 .addTypeVariable(TypeVariableName("T", Serializable::class)) in twoTypeVariablesOneBoundEach()
75 .addTypeVariable(TypeVariableName("U", Runnable::class)) in twoTypeVariablesOneBoundEach()
89 .addTypeVariable(TypeVariableName("T", Serializable::class, Runnable::class)) in oneTypeVariableTwoBounds()
103 .addTypeVariable(TypeVariableName("T", Serializable::class, Runnable::class)) in twoTypeVariablesTwoBoundsEach()
104 .addTypeVariable(TypeVariableName("U", Comparator::class, Cloneable::class)) in twoTypeVariablesTwoBoundsEach()
117 .addTypeVariable(TypeVariableName("T", Serializable::class, Runnable::class)) in threeTypeVariables()
[all …]
DTypeAliasSpecTest.kt44 .addTypeVariable(v) in typeVariable()
102 .addTypeVariable(TypeVariableName("V")) in implTypeAlias()
180 .addTypeVariable(typeParam) in generalBuilderEqualityTest()
199 .addTypeVariable(TypeVariableName("V")) in modifyTypeVariableNames()
DPropertySpecTest.kt291 .addTypeVariable(TypeVariableName("T")) in generalBuilderEqualityTest()
347 .addTypeVariable(t) in typeVariable()
390 .addTypeVariable(t) in reifiedTypeVariable()
411 .addTypeVariable(TypeVariableName("T").copy(reified = true)) in reifiedTypeVariableNotAllowedWhenNoAccessors()
421 .addTypeVariable(TypeVariableName("T").copy(reified = true)) in reifiedTypeVariableNotAllowedWhenGetterNotInline()
437 .addTypeVariable(TypeVariableName("T").copy(reified = true)) in reifiedTypeVariableNotAllowedWhenSetterNotInline()
454 .addTypeVariable(TypeVariableName("T").copy(reified = true)) in reifiedTypeVariableNotAllowedWhenOnlySetterIsInline()
DCrossplatformTest.kt29 .addTypeVariable(expectTypeParam) in crossplatform()
63 .addTypeVariable(expectTypeParam) in crossplatform()
DFunSpecTest.kt524 .addTypeVariable(genericType) in functionWithGenericContextReceiver()
822 .addTypeVariable(TypeVariableName("T").copy(reified = true)) in reifiedTypesOnNonInlineFunctionsForbidden()
878 .addTypeVariable(TypeVariableName("T")) in generalBuilderEqualityTest()
1020 .addTypeVariable(TypeVariableName("V")) in modifyTypeVariableNames()
DTypeSpecTest.kt960 .addTypeVariable(t) in typeVariables()
961 .addTypeVariable(p) in typeVariables()
977 .addTypeVariable(t) in typeVariables()
978 .addTypeVariable(p) in typeVariables()
1021 .addTypeVariable(p.copy(bounds = p.bounds + listOf(Comparable::class.asTypeName()))) in typeVariableWithBounds()
1022 .addTypeVariable(q.copy(bounds = q.bounds + listOf(Comparable::class.asTypeName()))) in typeVariableWithBounds()
1825 .addTypeVariable(typeVariable) in intersectionType()
3058 TypeSpec.anonymousClassBuilder().addTypeVariable(TypeVariableName("T")).build() in anonymousClassesCannotHaveModifiersOrTypeVariable()
3214 .addTypeVariable(TypeVariableName.of("State", listOf(ANY), IN).copy(reified = true)) in generalToBuilderEqualityTest()
4636 .addTypeVariable(TypeVariableName("V")) in modifyTypeVariableNames()
/external/dagger2/javatests/dagger/hilt/processor/internal/
DProcessorsTest.java47 .addTypeVariable(t); in testCopyMethodSpecWithoutBodyForMethod()
73 .addTypeVariable(t); in testCopyMethodSpecWithoutBodyForConstructor()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java551 .addTypeVariable(t) in typeVariables()
552 .addTypeVariable(p) in typeVariables()
566 .addTypeVariable(t) in typeVariables()
567 .addTypeVariable(p) in typeVariables()
606 .addTypeVariable(p.withBounds(Comparable.class)) in typeVariableWithBounds()
607 .addTypeVariable(q.withBounds(Comparable.class)) in typeVariableWithBounds()
995 .addTypeVariable(TypeVariableName.get("InPackage")) in simpleNameConflictsWithTypeVariable()
996 .addTypeVariable(TypeVariableName.get("OtherType")) in simpleNameConflictsWithTypeVariable()
1000 .addTypeVariable(TypeVariableName.get("MethodInPackage")) in simpleNameConflictsWithTypeVariable()
1001 .addTypeVariable(TypeVariableName.get("MethodOtherType")) in simpleNameConflictsWithTypeVariable()
[all …]
DMethodSpecTest.java416 .addTypeVariable(t) in modifyTypeVariables()
417 .addTypeVariable(TypeVariableName.get("V")); in modifyTypeVariables()
DJavaFileTest.java553 .addTypeVariable( in conflictingTypeVariableBound()
/external/dagger2/java/dagger/internal/codegen/writing/
DOptionalFactories.java154 .addTypeVariable(typeVariable) in absentOptionalProviderMethod()
329 .addTypeVariable(spec.typeVariable())
355 .addTypeVariable(spec.typeVariable())
DSwitchingProviders.java178 .addTypeVariable(T)
DExperimentalSwitchingProviders.java218 .addTypeVariable(T)
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DActivityGenerator.java66 .forEachOrdered(builder::addTypeVariable); in generate()
DServiceGenerator.java68 .forEachOrdered(builder::addTypeVariable); in generate()
DBroadcastReceiverGenerator.java77 .forEachOrdered(builder::addTypeVariable); in generate()
DViewGenerator.java76 .forEachOrdered(builder::addTypeVariable); in generate()
DFragmentGenerator.java90 .forEachOrdered(builder::addTypeVariable); in createTypeSpec()
DApplicationGenerator.java77 .forEachOrdered(typeSpecBuilder::addTypeVariable); in generate()
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/
DTypeAliasSpec.kt96 public fun addTypeVariable(typeVariable: TypeVariableName): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder
DFunSpec.kt383 public fun addTypeVariable(typeVariable: TypeVariableName): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder
617 .forEach { funBuilder.addTypeVariable(it) } in <lambda>()
DPropertySpec.kt243 public fun addTypeVariable(typeVariable: TypeVariableName): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java231 methodBuilder.addTypeVariable(TypeVariableName.get(var)); in overriding()
376 public Builder addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable() method in MethodSpec.Builder
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java262 builder.addTypeVariable(tvn); in buildOpMethod()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DFactoryWriter.java274 .addTypeVariable(typeVariable) in addCheckNotNullMethod()

12