Searched refs:insertionType (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | InsertionMethodProcessor.kt | 61 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/ |
D | InsertionMethod.kt | 30 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/ |
D | DaoWriter.kt | 363 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/ |
D | InsertionMethodProcessorTest.kt | 316 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>()
|