Home
last modified time | relevance | path

Searched refs:ProcessorErrors (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DEntityProcessorTest.kt21 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 …]
DPojoProcessorTest.kt22 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 …]
DRawQueryMethodProcessorTest.kt30 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>()
DDatabaseProcessorTest.kt185 }.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 …]
DQueryMethodProcessorTest.kt33 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 …]
DUpdateMethodProcessorTest.kt20 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>()
DDeletionMethodProcessorTest.kt19 import androidx.room.processor.ProcessorErrors.DELETION_METHODS_MUST_RETURN_VOID_OR_INT
20 import androidx.room.processor.ProcessorErrors.DELETION_MISSING_PARAMS
DInsertionMethodProcessorTest.kt74 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>()
DDaoProcessorTest.kt54 .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/
DEntityProcessor.kt26 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 …]
DQueryMethodProcessor.kt72 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>()
DDatabaseProcessor.kt69 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 …]
DUpdateMethodProcessor.kt37 .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()
DInsertionMethodProcessor.kt44 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()
DRawQueryMethodProcessor.kt26 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()
DCustomConverterProcessor.kt25 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>()
DPojoProcessor.kt35 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 …]
DFieldProcessor.kt81 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()
DDeletionMethodProcessor.kt32 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()
DDaoProcessor.kt52 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>()
DQueryParameterProcessor.kt34 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/
DDataSourceQueryResultBinderProvider.kt22 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()
DGuavaListenableFutureQueryResultBinderProvider.kt24 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/
DPojoRowAdapter.kt23 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/
DObservableQueryResultBinderProvider.kt21 import androidx.room.processor.ProcessorErrors
43 context.logger.e(ProcessorErrors.OBSERVABLE_QUERY_NOTHING_TO_OBSERVE) in extractTypeArg()

12