Home
last modified time | relevance | path

Searched refs:delegates (Results 1 – 7 of 7) sorted by relevance

/room/room-compiler-processing/src/main/java/androidx/room/compiler/codegen/impl/
DXTypeSpecImpl.kt49 private val delegates: List<XTypeSpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XTypeSpecImpl.Builder
52 delegates.forEach { it.superclass(typeName) } in <lambda>()
56 delegates.forEach { it.addSuperinterface(typeName) } in <lambda>()
60 delegates.forEach { it.addAnnotation(annotation) } in <lambda>()
64 delegates.forEach { it.addProperty(propertySpec) } in <lambda>()
68 delegates.forEach { it.addFunction(functionSpec) } in <lambda>()
72 delegates.forEach { it.addType(typeSpec) } in <lambda>()
76 delegates.forEach { it.addTypeVariable(typeVariable) } in addTypeVariable()
80 delegates.forEach { it.setPrimaryConstructor(functionSpec) } in <lambda>()
84 delegates.forEach { it.setVisibility(visibility) } in <lambda>()
[all …]
DXCodeBlockImpl.kt34 private val delegates: List<XCodeBlock.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XCodeBlockImpl.Builder
36 override fun add(code: XCodeBlock) = apply { delegates.forEach { it.add(code) } } in add()
39 delegates.forEach { it.add(format, *args) } in add()
43 delegates.forEach { it.addStatement(format, *args) } in addStatement()
52 delegates.forEach { it.addLocalVariable(name, typeName, isMutable, assignExpr) } in addLocalVariable()
56 delegates.forEach { it.beginControlFlow(controlFlow, *args) } in <lambda>()
60 delegates.forEach { it.nextControlFlow(controlFlow, *args) } in nextControlFlow()
63 override fun endControlFlow() = apply { delegates.forEach { it.endControlFlow() } } in <lambda>()
65 override fun indent() = apply { delegates.forEach { it.indent() } } in <lambda>()
67 override fun unindent() = apply { delegates.forEach { it.unindent() } } in <lambda>()
DXFunSpecImpl.kt39 private val delegates: List<XFunSpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XFunSpecImpl.Builder
42 delegates.forEach { it.addAnnotation(annotation) } in <lambda>()
46 delegates.forEach { it.addTypeVariable(typeVariable) } in addTypeVariable()
50 delegates.forEach { it.addAbstractModifier() } in <lambda>()
54 delegates.forEach { it.addParameter(parameter) } in <lambda>()
58 delegates.forEach { it.addParameter(name, typeName) } in <lambda>()
61 override fun addCode(code: XCodeBlock) = apply { delegates.forEach { it.addCode(code) } } in <lambda>()
64 delegates.forEach { it.callSuperConstructor(*args) } in <lambda>()
68 delegates.forEach { it.returns(typeName) } in <lambda>()
DXPropertySpecImpl.kt40 private val delegates: List<XPropertySpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XPropertySpecImpl.Builder
43 delegates.forEach { it.addAnnotation(annotation) } in <lambda>()
47 delegates.forEach { it.initializer(initExpr) } in <lambda>()
DXAnnotationSpecImpl.kt34 private val delegates: List<XAnnotationSpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XAnnotationSpecImpl.Builder
37 delegates.forEach { it.addMember(name, code) } in <lambda>()
DXParameterSpecImpl.kt39 private val delegates: List<XParameterSpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XParameterSpecImpl.Builder
42 delegates.forEach { it.addAnnotation(annotation) } in <lambda>()
DXFileSpecImpl.kt42 private val delegates: List<XFileSpec.Builder> = listOf(java, kotlin) constant in androidx.room.compiler.codegen.impl.XFileSpecImpl.Builder
45 delegates.forEach { it.addFileComment(code) } in <lambda>()