/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | EntityProcessorTest.kt | 21 import androidx.room.processor.ProcessorErrors.RELATION_IN_ENTITY in <lambda>() 70 .withErrorContaining(ProcessorErrors.CANNOT_FIND_GETTER_FOR_FIELD) in <lambda>() 82 .withErrorContaining(ProcessorErrors.CANNOT_FIND_GETTER_FOR_FIELD) in <lambda>() 94 .withErrorContaining(ProcessorErrors.CANNOT_FIND_SETTER_FOR_FIELD) in <lambda>() 127 .withErrorContaining(ProcessorErrors.CANNOT_FIND_SETTER_FOR_FIELD) in <lambda>() 263 }.failsToCompile().withErrorContaining(ProcessorErrors.ENTITY_TABLE_NAME_CANNOT_BE_EMPTY) in <lambda>() 271 .withErrorContaining(ProcessorErrors.MISSING_PRIMARY_KEY) in <lambda>() 280 }.failsToCompile().withErrorContaining(ProcessorErrors.CANNOT_FIND_COLUMN_TYPE_ADAPTER) in <lambda>() 301 .withWarningContaining(ProcessorErrors.embeddedPrimaryKeyIsDropped( in <lambda>() 500 ProcessorErrors.INDEX_COLUMNS_CANNOT_BE_EMPTY in <lambda>() [all …]
|
D | PojoProcessorTest.kt | 22 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_GETTER_FOR_FIELD in <lambda>() 23 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_TYPE in <lambda>() 24 import androidx.room.processor.ProcessorErrors.ENTITY_MUST_BE_ANNOTATED_WITH_ENTITY in <lambda>() 25 import androidx.room.processor.ProcessorErrors.POJO_FIELD_HAS_DUPLICATE_COLUMN_NAME in <lambda>() 26 import androidx.room.processor.ProcessorErrors.RELATION_NOT_COLLECTION in <lambda>() 27 import androidx.room.processor.ProcessorErrors.relationCannotFindEntityField in <lambda>() 28 import androidx.room.processor.ProcessorErrors.relationCannotFindParentEntityField in <lambda>() 294 ProcessorErrors.pojoDuplicateFieldNames("id", listOf("id", "another")) in <lambda>() 314 ProcessorErrors.pojoDuplicateFieldNames("id", listOf("id", "foo > x")) in <lambda>() 361 ProcessorErrors.CANNOT_USE_MORE_THAN_ONE_POJO_FIELD_ANNOTATION) in <lambda>() [all …]
|
D | RawQueryMethodProcessorTest.kt | 30 import androidx.room.processor.ProcessorErrors.RAW_QUERY_STRING_PARAMETER_REMOVED in <lambda>() 112 .withErrorContaining(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in <lambda>() 124 .withErrorContaining(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in <lambda>() 136 .withErrorContaining(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in <lambda>() 184 ProcessorErrors.RAW_QUERY_BAD_RETURN_TYPE in <lambda>() 196 ProcessorErrors.RAW_QUERY_BAD_PARAMS in <lambda>() 209 ProcessorErrors.RAW_QUERY_BAD_PARAMS in <lambda>() 221 ProcessorErrors.RAW_QUERY_BAD_PARAMS in <lambda>() 233 ProcessorErrors.rawQueryBadEntity(COMMON.NOT_AN_ENTITY_TYPE_NAME) in <lambda>()
|
D | DatabaseProcessorTest.kt | 185 }.failsToCompile().withErrorContaining(ProcessorErrors.DB_MUST_EXTEND_ROOM_DB) in <lambda>() 227 ProcessorErrors.duplicateTableNames("user", in <lambda>() 298 .withErrorContaining(ProcessorErrors.DAO_METHOD_CONFLICTS_WITH_OTHERS) in <lambda>() 300 .withErrorContaining(ProcessorErrors.duplicateDao( in <lambda>() 351 ProcessorErrors.duplicateIndexInDatabase("index_name", in <lambda>() 377 ProcessorErrors.foreignKeyMissingParentEntityInDatabase("User", "foo.bar.Entity1") in <lambda>() 402 ProcessorErrors.foreignKeyMissingIndexInParent( in <lambda>() 481 ProcessorErrors.foreignKeyParentColumnDoesNotExist("foo.bar.Entity2", in <lambda>() 532 ProcessorErrors.shortcutEntityIsNotInDatabase( in <lambda>() 637 .withErrorContaining(ProcessorErrors in <lambda>() [all …]
|
D | QueryMethodProcessorTest.kt | 33 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_QUERY_RESULT_ADAPTER in <lambda>() 220 ProcessorErrors.missingParameterForBindVariable(listOf(":uid"))) in <lambda>() 243 ProcessorErrors.missingParameterForBindVariable(listOf(":bar", ":uid"))) in <lambda>() 260 ProcessorErrors.unusedQueryMethodParameter(listOf("whyNotUseMe"))) in <lambda>() 272 .withErrorContaining(ProcessorErrors.QUERY_PARAMETERS_CANNOT_START_WITH_UNDERSCORE) in <lambda>() 286 .withErrorContaining(ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_QUERY_METHODS) in <lambda>() 326 .withErrorContaining(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in <lambda>() 340 .withErrorContaining(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in <lambda>() 386 ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT in <lambda>() 456 .withErrorContaining(ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT) in <lambda>() [all …]
|
D | UpdateMethodProcessorTest.kt | 20 import androidx.room.processor.ProcessorErrors in <lambda>() 22 import androidx.room.processor.ProcessorErrors.UPDATE_MISSING_PARAMS in <lambda>() 62 }.failsToCompile().withErrorContaining(ProcessorErrors.INVALID_ON_CONFLICT_VALUE) in <lambda>()
|
D | DeletionMethodProcessorTest.kt | 19 import androidx.room.processor.ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT 20 import androidx.room.processor.ProcessorErrors.DELETION_MISSING_PARAMS
|
D | InsertionMethodProcessorTest.kt | 74 ProcessorErrors.INSERTION_DOES_NOT_HAVE_ANY_PARAMETERS_TO_INSERT) in <lambda>() 108 ProcessorErrors.CANNOT_FIND_ENTITY_FOR_SHORTCUT_QUERY_PARAMETER in <lambda>() 287 }.failsToCompile().withErrorContaining(ProcessorErrors.INVALID_ON_CONFLICT_VALUE) in <lambda>() 318 ProcessorErrors.INVALID_INSERTION_METHOD_RETURN_TYPE) in <lambda>() 330 ProcessorErrors.insertionMethodReturnTypeMismatch( in <lambda>() 344 ProcessorErrors.insertionMethodReturnTypeMismatch( in <lambda>() 358 ProcessorErrors.insertionMethodReturnTypeMismatch( in <lambda>()
|
D | DaoProcessorTest.kt | 54 .withErrorContaining(ProcessorErrors.DAO_MUST_BE_AN_ABSTRACT_CLASS_OR_AN_INTERFACE) in <lambda>() 65 .withErrorContaining(ProcessorErrors.ABSTRACT_METHOD_IN_DAO_MISSING_ANY_ANNOTATION) in <lambda>() 78 ProcessorErrors.INVALID_ANNOTATION_COUNT_IN_DAO_METHOD) in <lambda>() 216 .withWarningContaining(ProcessorErrors.TRANSACTION_MISSING_ON_RELATION) in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | EntityProcessor.kt | 26 import androidx.room.processor.ProcessorErrors.INDEX_COLUMNS_CANNOT_BE_EMPTY in <lambda>() 27 import androidx.room.processor.ProcessorErrors.RELATION_IN_ENTITY in <lambda>() 62 ProcessorErrors.ENTITY_MUST_BE_ANNOTATED_WITH_ENTITY) in <lambda>() 89 ProcessorErrors.ENTITY_TABLE_NAME_CANNOT_BE_EMPTY) in <lambda>() 96 ProcessorErrors.droppedEmbeddedFieldIndex( in <lambda>() 102 ProcessorErrors.droppedSuperClassFieldIndex( in <lambda>() 124 ProcessorErrors.AUTO_INCREMENTED_PRIMARY_KEY_IS_NOT_INT in <lambda>() 131 ProcessorErrors.INVALID_TABLE_NAME) in <lambda>() 134 ProcessorErrors.INVALID_COLUMN_NAME) in <lambda>() 166 ProcessorErrors.foreignKeyMissingIndexInChildColumn(columnNames[0])) in <lambda>() [all …]
|
D | QueryMethodProcessor.kt | 72 ProcessorErrors.MISSING_QUERY_ANNOTATION) in <lambda>() 88 executableElement, ProcessorErrors.CANNOT_RESOLVE_RETURN_TYPE, in <lambda>() 97 ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_QUERY_METHODS) in <lambda>() 103 ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT in <lambda>() 109 executableElement, ProcessorErrors.CANNOT_FIND_QUERY_RESULT_ADAPTER) in <lambda>() 112 ProcessorErrors.LIVE_DATA_QUERY_WITHOUT_SELECT) in <lambda>() 126 executableElement, ProcessorErrors.TRANSACTION_MISSING_ON_RELATION) in <lambda>() 154 ProcessorErrors.missingParameterForBindVariable(missing)) in <lambda>() 162 context.logger.e(executableElement, ProcessorErrors.unusedQueryMethodParameter(unused)) in <lambda>()
|
D | DatabaseProcessor.kt | 69 context.checker.check(extendsRoomDb, element, ProcessorErrors.DB_MUST_EXTEND_ROOM_DB) in <lambda>() 122 context.logger.e(element, ProcessorErrors in <lambda>() 133 ProcessorErrors.foreignKeyParentColumnDoesNotExist( in <lambda>() 145 context.logger.e(parent.element, ProcessorErrors in <lambda>() 170 ProcessorErrors.duplicateIndexInDatabase(it.key, in <lambda>() 182 val error = ProcessorErrors.duplicateDao(it.key, it.value.map { it.name }) in <lambda>() 185 ProcessorErrors.DAO_METHOD_CONFLICTS_WITH_OTHERS) in <lambda>() 196 ProcessorErrors.shortcutEntityIsNotInDatabase( in <lambda>() 225 val error = ProcessorErrors.duplicateTableNames(byTableName.key, in <lambda>() 239 ProcessorErrors.DATABASE_MUST_BE_ANNOTATED_WITH_DATABASE)) { in <lambda>() [all …]
|
D | UpdateMethodProcessor.kt | 37 .extractAnnotation(Update::class, ProcessorErrors.MISSING_UPDATE_ANNOTATION) in process() 41 executableElement, ProcessorErrors.INVALID_ON_CONFLICT_VALUE) in process() 47 ProcessorErrors.UPDATE_METHODS_MUST_RETURN_VOID_OR_INT in process() 51 missingParamError = ProcessorErrors in process()
|
D | InsertionMethodProcessor.kt | 44 ProcessorErrors.MISSING_INSERT_ANNOTATION) in process() 48 executableElement, ProcessorErrors.INVALID_ON_CONFLICT_VALUE) in process() 53 ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_INSERTION_METHODS) in process() 56 missingParamError = ProcessorErrors in process() 63 ProcessorErrors.INVALID_INSERTION_METHOD_RETURN_TYPE) in process() 69 ProcessorErrors.insertionMethodReturnTypeMismatch( in process()
|
D | RawQueryMethodProcessor.kt | 26 import androidx.room.processor.ProcessorErrors.RAW_QUERY_STRING_PARAMETER_REMOVED 48 ProcessorErrors.MISSING_RAWQUERY_ANNOTATION) in process() 52 ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_QUERY_METHODS) in process() 71 ProcessorErrors.RAW_QUERY_BAD_RETURN_TYPE) in process() 104 ProcessorErrors.rawQueryBadEntity(it.asType().typeName())) in processObservedTables() 135 context.logger.e(executableElement, ProcessorErrors.RAW_QUERY_BAD_PARAMS) in findRuntimeQueryParameter()
|
D | CustomConverterProcessor.kt | 25 import androidx.room.processor.ProcessorErrors.TYPE_CONVERTER_BAD_RETURN_TYPE in <lambda>() 26 import androidx.room.processor.ProcessorErrors.TYPE_CONVERTER_EMPTY_CLASS in <lambda>() 27 import androidx.room.processor.ProcessorErrors in <lambda>() 29 import androidx.room.processor.ProcessorErrors.TYPE_CONVERTER_MUST_BE_PUBLIC in <lambda>() 30 import androidx.room.processor.ProcessorErrors.TYPE_CONVERTER_MUST_RECEIVE_1_PARAM in <lambda>() 31 import androidx.room.processor.ProcessorErrors.TYPE_CONVERTER_UNBOUND_GENERIC in <lambda>() 80 context.logger.e(converter.method, ProcessorErrors in <lambda>()
|
D | PojoProcessor.kt | 35 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_GETTER_FOR_FIELD in <lambda>() 36 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_SETTER_FOR_FIELD in <lambda>() 37 import androidx.room.processor.ProcessorErrors.CANNOT_FIND_TYPE in <lambda>() 38 import androidx.room.processor.ProcessorErrors.POJO_FIELD_HAS_DUPLICATE_COLUMN_NAME in <lambda>() 127 ProcessorErrors.CANNOT_USE_MORE_THAN_ONE_POJO_FIELD_ANNOTATION in <lambda>() 170 context.logger.e(element, ProcessorErrors.pojoDuplicateFieldNames( in <lambda>() 311 context.logger.e(param, ProcessorErrors.ambigiousConstructor( in <lambda>() 332 ProcessorErrors.RELATION_CANNOT_BE_CONSTRUCTOR_PARAMETER) in <lambda>() 338 context.logger.e(element, ProcessorErrors.MISSING_POJO_CONSTRUCTOR + in <lambda>() 342 context.logger.e(element, ProcessorErrors.MISSING_POJO_CONSTRUCTOR) in <lambda>() [all …]
|
D | FieldProcessor.kt | 81 ProcessorErrors.COLUMN_NAME_CANNOT_BE_EMPTY) in process() 83 ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_ENTITY_FIELDS) in process() 102 ProcessorErrors.CANNOT_FIND_COLUMN_TYPE_ADAPTER) in process() 108 ProcessorErrors.CANNOT_FIND_STMT_BINDER) in process() 114 ProcessorErrors.CANNOT_FIND_CURSOR_READER) in process()
|
D | DeletionMethodProcessor.kt | 32 delegate.extractAnnotation(Delete::class, ProcessorErrors.MISSING_DELETE_ANNOTATION) in process() 38 ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT in process() 42 missingParamError = ProcessorErrors in process()
|
D | DaoProcessor.kt | 52 ProcessorErrors.DAO_MUST_BE_ANNOTATED_WITH_DAO) in <lambda>() 54 element, ProcessorErrors.DAO_MUST_BE_AN_ABSTRACT_CLASS_OR_AN_INTERFACE) in <lambda>() 67 ProcessorErrors.INVALID_ANNOTATION_COUNT_IN_DAO_METHOD in <lambda>() 154 ProcessorErrors.ABSTRACT_METHOD_IN_DAO_MISSING_ANY_ANNOTATION) in <lambda>() 158 ProcessorErrors.CANNOT_USE_UNBOUND_GENERICS_IN_DAO_CLASSES) in <lambda>() 173 context.logger.e(element, ProcessorErrors.daoMustHaveMatchingConstructor( in <lambda>()
|
D | QueryParameterProcessor.kt | 34 ProcessorErrors.CANNOT_BIND_QUERY_PARAMETER_INTO_STMT) in process() 38 ProcessorErrors.QUERY_PARAMETERS_CANNOT_START_WITH_UNDERSCORE) in process()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/ |
D | DataSourceQueryResultBinderProvider.kt | 22 import androidx.room.processor.ProcessorErrors 43 context.logger.e(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in provide() 70 context.logger.e(ProcessorErrors.PAGING_SPECIFY_DATA_SOURCE_TYPE) in matches()
|
D | GuavaListenableFutureQueryResultBinderProvider.kt | 24 import androidx.room.processor.ProcessorErrors 46 context.logger.e(ProcessorErrors.MISSING_ROOM_GUAVA_ARTIFACT) in provide()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
D | PojoRowAdapter.kt | 23 import androidx.room.processor.ProcessorErrors in <lambda>() 67 val warningMsg = ProcessorErrors.cursorPojoMismatch( in <lambda>() 78 context.logger.e(ProcessorErrors.pojoMissingNonNull( in <lambda>() 84 context.logger.e(ProcessorErrors.CANNOT_FIND_QUERY_RESULT_ADAPTER) in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
D | ObservableQueryResultBinderProvider.kt | 21 import androidx.room.processor.ProcessorErrors 43 context.logger.e(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in extractTypeArg()
|