Home
last modified time | relevance | path

Searched refs:insertionType (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DInsertionMethodProcessor.kt61 var insertionType = getInsertionType(returnType) in process() variable
62 context.checker.check(insertionType != null, executableElement, in process()
65 if (insertionType != null) { in process()
67 if (insertionType !in acceptable) { in process()
70 insertionType.returnTypeName, in process()
73 insertionType = null in process()
83 insertionType = insertionType in process()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DInsertionMethod.kt30 val insertionType: Type?, constant in androidx.room.vo.InsertionMethod
33 return if (insertionType == Type.INSERT_VOID || insertionType == null) { in insertMethodTypeFor()
38 insertionType in insertMethodTypeFor()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DDaoWriter.kt363 val insertionType = method.insertionType in <lambda>() constant
364 if (insertionAdapters.isEmpty() || insertionType == null) { in <lambda>()
373 val needsReturnType = insertionType != InsertionMethod.Type.INSERT_VOID in <lambda>()
387 insertionType.returnTypeName, resultVar, in <lambda>()
388 insertionAdapter, insertionType.methodName, in <lambda>()
391 addStatement("$N.$L($L)", insertionAdapter, insertionType.methodName, in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DInsertionMethodProcessorTest.kt316 assertThat(insertion.insertionType, `is`(nullValue())) in <lambda>()
328 assertThat(insertion.insertionType, `is`(nullValue())) in <lambda>()
342 assertThat(insertion.insertionType, `is`(nullValue())) in <lambda>()
356 assertThat(insertion.insertionType, `is`(nullValue())) in <lambda>()
385 assertThat(pair.toString(), insertion.insertionType, `is`(pair.second)) in <lambda>()