Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 9d4af29ce3060e8a9f7ee74a6a75a1b8e93f0f23
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jul 13 17:38:32 2020
Create XProcessing project
This module is designed to contain all of Room's processing environment
related access. This encapsulation will help us define the reach of
Room's compiler into the processing APIs so that we can have a parallel
implementation with KSP w/o distrupting existing users.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I9aee11051e109af210c34ed3334d1ba595787357
M buildSrc/src/main/kotlin/androidx/build/PublishDocsRules.kt
A room/compiler-xprocessing/build.gradle
A room/compiler-xprocessing/src/main/java/androidx/room/processing/JavaPoetExt.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/JavacTestProcessor.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XDeclaredType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XEquality.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XMessager.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XRoundEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/DefaultJavacType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacDeclaredType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnvMessager.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacRoundEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/JavacTestProcessorTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/SyntheticJavacProcessor.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingEnvTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/OtherAnnotation.java
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/ProcessorTestExt.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/Source.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestInvocation.kt
M settings.gradle
https://android-review.googlesource.com/1362102
Branch: androidx-master-dev
commit 9d4af29ce3060e8a9f7ee74a6a75a1b8e93f0f23
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jul 13 17:38:32 2020
Create XProcessing project
This module is designed to contain all of Room's processing environment
related access. This encapsulation will help us define the reach of
Room's compiler into the processing APIs so that we can have a parallel
implementation with KSP w/o distrupting existing users.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I9aee11051e109af210c34ed3334d1ba595787357
M buildSrc/src/main/kotlin/androidx/build/PublishDocsRules.kt
A room/compiler-xprocessing/build.gradle
A room/compiler-xprocessing/src/main/java/androidx/room/processing/JavaPoetExt.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/JavacTestProcessor.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XDeclaredType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XEquality.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XMessager.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XRoundEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/DefaultJavacType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacDeclaredType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnvMessager.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacRoundEnv.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/JavacTestProcessorTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/SyntheticJavacProcessor.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingEnvTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/OtherAnnotation.java
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/ProcessorTestExt.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/Source.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestInvocation.kt
M settings.gradle
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 03429f104b1b8e4e3914c652c8d59733bbaea961
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 07:57:53 2020
Add support for ArrayType
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I312e13e657562e72053a865193e6db2fca7b2796
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XArrayType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingEnv.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacArrayType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnv.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XArrayTypeTest.kt
https://android-review.googlesource.com/1361930
Branch: androidx-master-dev
commit 03429f104b1b8e4e3914c652c8d59733bbaea961
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 07:57:53 2020
Add support for ArrayType
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I312e13e657562e72053a865193e6db2fca7b2796
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XArrayType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingEnv.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacArrayType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacProcessingEnv.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XArrayTypeTest.kt
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b7998bde1e8d281eb4aba4cdfa19358330ee4948
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 09:24:17 2020
Model annotations in XProcessing
This CL adds support for AnnotationBox and querying annotations from elements.
We had 1 use case where we query all annotations in room to ensure the
Auto-Value integration does not use unsupported annotations.
To avoid modelling Annotation and an XElement, I've added a helper
method to check annotations by package name. It is a bit ugly API wise
but helps reduce API surface.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I3ba53254cade3a85d1c4db2471f2424a5fe08e50
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XAnnotationBox.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacAnnotationBox.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XAnnotationBoxTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/MainAnnotation.java
https://android-review.googlesource.com/1362162
Branch: androidx-master-dev
commit b7998bde1e8d281eb4aba4cdfa19358330ee4948
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 09:24:17 2020
Model annotations in XProcessing
This CL adds support for AnnotationBox and querying annotations from elements.
We had 1 use case where we query all annotations in room to ensure the
Auto-Value integration does not use unsupported annotations.
To avoid modelling Annotation and an XElement, I've added a helper
method to check annotations by package name. It is a bit ugly API wise
but helps reduce API surface.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I3ba53254cade3a85d1c4db2471f2424a5fe08e50
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XAnnotationBox.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacAnnotationBox.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XAnnotationBoxTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/MainAnnotation.java
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 62ed33b499cc8ed4192d30b06209e7b46fbc885d
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 12:04:59 2020
Model fields in XProcessing
This CL adds support for modelling fields in XProcessing.
They are still called VariableElement to match javac but
we may want to eventually rename them to XField / XProperty.
Such renaming will make compiler migration more difficult
so I'm refraining from it until the initial migration is complete.
I've also added more tests to type assignments since having
fields make the test easy (in other words, i can copy it from
the combined CL :) )
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: Ie253edbeaf76dd4859a350d2886d9152f2ce18a4
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XVariableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/ElementExt.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacVariableElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/TypeAssignmentTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XArrayTypeTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestExtensions.kt
https://android-review.googlesource.com/1362165
Branch: androidx-master-dev
commit 62ed33b499cc8ed4192d30b06209e7b46fbc885d
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 12:04:59 2020
Model fields in XProcessing
This CL adds support for modelling fields in XProcessing.
They are still called VariableElement to match javac but
we may want to eventually rename them to XField / XProperty.
Such renaming will make compiler migration more difficult
so I'm refraining from it until the initial migration is complete.
I've also added more tests to type assignments since having
fields make the test easy (in other words, i can copy it from
the combined CL :) )
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: Ie253edbeaf76dd4859a350d2886d9152f2ce18a4
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XVariableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/ElementExt.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacVariableElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/TypeAssignmentTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XArrayTypeTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestExtensions.kt
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 1a96de267bff4bc1de713ec9a77092cb6734ee3c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 16:01:21 2020
Introduce XNullability
This will help us model nullability more closer to kotlin where it is a tri-state
that covers platform cases.
Right now Room only ever needs it in elements but we'll probably add it to
Type as well (to handle cases like Flow<T> vs Flow<T?> which we don't right now)
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I4056ce78712bf0731f144d0657034c93b1237561
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XNullability.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
https://android-review.googlesource.com/1362171
Branch: androidx-master-dev
commit 1a96de267bff4bc1de713ec9a77092cb6734ee3c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 16:01:21 2020
Introduce XNullability
This will help us model nullability more closer to kotlin where it is a tri-state
that covers platform cases.
Right now Room only ever needs it in elements but we'll probably add it to
Type as well (to handle cases like Flow<T> vs Flow<T?> which we don't right now)
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I4056ce78712bf0731f144d0657034c93b1237561
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XNullability.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-master-dev
commit cbd2035615b13b0ea364dd8ea2c6f91604368b4c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 17:01:15 2020
Copy JvmDescriptorUtils and KotlinMetadata utils
This is an almost 1-1 copy of JvmDescriptorUtils and kotlin metadata utils from
room:compiler to xprocessing.
Once room is migrated, they'll be deleted from Room.
Right now these classes are not used but they'll be used in a followup CL when I
add support for executable elements.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I12c3468ac7a69ba0b964700bc8f8343dcd263552
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/JvmDescriptorUtils.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/KotlinClassMetadataUtils.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/KotlinMetadataElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/javac/kotlin/JvmDescriptorUtilsTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/javac/kotlin/KotlinMetadataElementTest.kt
https://android-review.googlesource.com/1362175
Branch: androidx-master-dev
commit cbd2035615b13b0ea364dd8ea2c6f91604368b4c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 14 17:01:15 2020
Copy JvmDescriptorUtils and KotlinMetadata utils
This is an almost 1-1 copy of JvmDescriptorUtils and kotlin metadata utils from
room:compiler to xprocessing.
Once room is migrated, they'll be deleted from Room.
Right now these classes are not used but they'll be used in a followup CL when I
add support for executable elements.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I12c3468ac7a69ba0b964700bc8f8343dcd263552
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/JvmDescriptorUtils.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/KotlinClassMetadataUtils.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/kotlin/KotlinMetadataElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/javac/kotlin/JvmDescriptorUtilsTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/javac/kotlin/KotlinMetadataElementTest.kt
ap...@google.com <ap...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 014065ec0d3978dc7f43a37c943fe9ce11bb7a39
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 07 08:12:37 2020
Add Executable element support
This CL adds executable element support to xprocessing.
Unlike the current implementation in room, most of the kotlin
handling is abstracted in XProcessing. We still leak it
via the API to check things for suspend functions or being
able to see suspend parameter names in class vs in kotlin metadata
but they are fairly limited.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I375d7c5e5f1616000d231900a4c89796a6e09332
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XExecutableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XExecutableType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacExecutableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacExecutableType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacMethodParameter.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacVariableElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/KotlinMetadataTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XExecutableElementTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingEnvTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/KotlinTestClass.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestExtensions.kt
https://android-review.googlesource.com/1363057
Branch: androidx-master-dev
commit 014065ec0d3978dc7f43a37c943fe9ce11bb7a39
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 07 08:12:37 2020
Add Executable element support
This CL adds executable element support to xprocessing.
Unlike the current implementation in room, most of the kotlin
handling is abstracted in XProcessing. We still leak it
via the API to check things for suspend functions or being
able to see suspend parameter names in class vs in kotlin metadata
but they are fairly limited.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I375d7c5e5f1616000d231900a4c89796a6e09332
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XExecutableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XExecutableType.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XTypeElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacExecutableElement.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacExecutableType.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacMethodParameter.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacTypeElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacVariableElement.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/KotlinMetadataTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XExecutableElementTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingEnvTest.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XTypeTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/testcode/KotlinTestClass.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/util/TestExtensions.kt
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 949cae5a286275c70bc30749232b3f464e89e299
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 07 08:12:37 2020
Add helper methods / classes for room migration
XProcessingStep: Same as auto-value's processing step, but with xprocessing APIs
MethodSpecHelpers: We can no longer use MethodSpec.overriding as it takes an Executable
Element and has no way of seeing kotlin parameter names. This helper does the same,
except with Xprocessing APIs.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I1eccee0881d192b0e8a7f25e72f484b91681292b
M room/compiler-xprocessing/src/main/java/androidx/room/processing/JavaPoetExt.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingStep.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/MethodSpecHelperTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingStepTest.kt
https://android-review.googlesource.com/1362063
Branch: androidx-master-dev
commit 949cae5a286275c70bc30749232b3f464e89e299
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jul 07 08:12:37 2020
Add helper methods / classes for room migration
XProcessingStep: Same as auto-value's processing step, but with xprocessing APIs
MethodSpecHelpers: We can no longer use MethodSpec.overriding as it takes an Executable
Element and has no way of seeing kotlin parameter names. This helper does the same,
except with Xprocessing APIs.
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I1eccee0881d192b0e8a7f25e72f484b91681292b
M room/compiler-xprocessing/src/main/java/androidx/room/processing/JavaPoetExt.kt
A room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingStep.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/MethodSpecHelperTest.kt
A room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingStepTest.kt
ap...@google.com <ap...@google.com> #10
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b25a568204e2e52a149360464715d8788a94d7b7
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jul 17 16:07:22 2020
Fix method name in XProcessingStep
I confused Auto Value and Auto Common and then resolved the
comment thinking that i pushed the change.
This is a followup to fix the comment in aosp/1362063
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I7186be7891567852b91af21a60b0bf18a281d563
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingStep.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingStepTest.kt
https://android-review.googlesource.com/1365686
Branch: androidx-master-dev
commit b25a568204e2e52a149360464715d8788a94d7b7
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jul 17 16:07:22 2020
Fix method name in XProcessingStep
I confused Auto Value and Auto Common and then resolved the
comment thinking that i pushed the change.
This is a followup to fix the comment in aosp/1362063
Bug: 160322705
Bug: 160323720
Test: compiler-xprocessing tests
Change-Id: I7186be7891567852b91af21a60b0bf18a281d563
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XProcessingStep.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XProcessingStepTest.kt
ap...@google.com <ap...@google.com> #11
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e730f5b3415e1b23651b0aadd0f4fa029f5c5b18
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Jul 11 10:38:13 2020
Migrate Room Codebase to XProcessing
This CL replaces room to use cross processing APIs rather
than javax.model APIs.
I've diffed the build outputs of old and new versions and
they are almost the same except in the new version we always
read the correct kotlin argument names.
https://paste.googleplex.com/4560953880346624
I've run the stress test and it also completed all 50 properly.
There is still room for improvement in XProcessing APIs which
might become more obvious while looking at this diff but more
changes will make this diff more complicated hence I've opted
in to keep XProcessing APIs as similar as possible to the current
Room code patterns.
Bug: 160322705
Test: existing tests
Change-Id: Ie4480a43fdff0f8f32dd0ea08c4088ac9f209dd3
M room/compiler-xprocessing/build.gradle
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
M room/compiler/build.gradle
M room/compiler/src/main/kotlin/androidx/room/DatabaseProcessingStep.kt
M room/compiler/src/main/kotlin/androidx/room/RoomProcessor.kt
D room/compiler/src/main/kotlin/androidx/room/ext/element_ext.kt
M room/compiler/src/main/kotlin/androidx/room/ext/javapoet_ext.kt
D room/compiler/src/main/kotlin/androidx/room/ext/processing_env_ext.kt
D room/compiler/src/main/kotlin/androidx/room/ext/type_mirror_ext.kt
A room/compiler/src/main/kotlin/androidx/room/ext/xelement_ext.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/JvmDescriptorUtils.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/KotlinClassMetadataUtils.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/KotlinMetadataElement.kt
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/parser/ParsedQuery.kt
M room/compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
M room/compiler/src/main/kotlin/androidx/room/preconditions/Checks.kt
M room/compiler/src/main/kotlin/androidx/room/processor/Context.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DeletionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/EntityOrViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FieldProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/InsertionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/MethodProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/RawQueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/SuppressWarningProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/UpdateMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/cache/Cache.kt
M room/compiler/src/main/kotlin/androidx/room/solver/KotlinDefaultMethodDelegateBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/ObservableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/QueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CoroutineFlowResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CursorQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceFactoryQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/GuavaListenableFutureQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/InstantQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/LiveDataQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/PagingSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/QueryResultBinderProviderWithRequiredArtifact.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxCallableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binder/CallablePreparedQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/GuavaListenableFuturePreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/InstantPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/PreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/RxPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/result/PreparedQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/parameter/ArrayQueryParameterAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/parameter/CollectionQueryParameterAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ArrayQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/CoroutineFlowResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/CoroutineResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/GuavaListenableFutureQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/GuavaOptionalQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ImmutableListQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ListQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/LiveDataQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/OptionalQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PagingQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PositionalDataSourceQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RxCallableQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RxQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/SingleEntityQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/CallableDeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/CallableInsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/DeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InstantDeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InstantInsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/DeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InstantDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InstantInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/DeleteOrUpdateMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/CoroutineTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/InstantTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/TransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/result/TransactionMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedBooleanToBoxedIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedPrimitiveColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteArrayColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteBufferColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CompositeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CompositeTypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CursorValueReader.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/NoOpConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/PrimitiveBooleanToIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/PrimitiveColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StatementValueBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StringColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/TypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/verifier/DatabaseVerifier.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Constructor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/CustomTypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Dao.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DaoMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Database.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DatabaseView.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DeletionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/EmbeddedField.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Entity.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Field.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FieldGetter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FieldSetter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ForeignKeyAction.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FtsEntity.kt
M room/compiler/src/main/kotlin/androidx/room/vo/InsertionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/KotlinDefaultMethodDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/vo/LanguageId.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Pojo.kt
M room/compiler/src/main/kotlin/androidx/room/vo/PojoMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/PrimaryKey.kt
M room/compiler/src/main/kotlin/androidx/room/vo/QueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/QueryParameter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Relation.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RelationCollector.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ShortcutMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ShortcutQueryParameter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/TransactionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/UpdateMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Warning.kt
M room/compiler/src/main/kotlin/androidx/room/writer/ClassWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DatabaseWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityDeletionAdapterWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityInsertionAdapterWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/FieldReadWriteWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/FtsTableInfoValidationWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/QueryWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/TableInfoValidationWriter.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
D room/compiler/src/test/kotlin/androidx/room/kotlin/JvmDescriptorUtilsTest.kt
D room/compiler/src/test/kotlin/androidx/room/kotlin/KotlinMetadataElementTest.kt
M room/compiler/src/test/kotlin/androidx/room/log/RLogTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseViewProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DeletionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityNameMatchingVariationsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts3TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTargetMethodTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/UpdateMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegateTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAssignmentTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestInvocation.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/verifier/DatabaseVerifierTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/DatabaseTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/EntityTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/FtsEntityTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
https://android-review.googlesource.com/1361181
Branch: androidx-master-dev
commit e730f5b3415e1b23651b0aadd0f4fa029f5c5b18
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Jul 11 10:38:13 2020
Migrate Room Codebase to XProcessing
This CL replaces room to use cross processing APIs rather
than javax.model APIs.
I've diffed the build outputs of old and new versions and
they are almost the same except in the new version we always
read the correct kotlin argument names.
I've run the stress test and it also completed all 50 properly.
There is still room for improvement in XProcessing APIs which
might become more obvious while looking at this diff but more
changes will make this diff more complicated hence I've opted
in to keep XProcessing APIs as similar as possible to the current
Room code patterns.
Bug: 160322705
Test: existing tests
Change-Id: Ie4480a43fdff0f8f32dd0ea08c4088ac9f209dd3
M room/compiler-xprocessing/build.gradle
M room/compiler-xprocessing/src/main/java/androidx/room/processing/XElement.kt
M room/compiler-xprocessing/src/main/java/androidx/room/processing/javac/JavacElement.kt
M room/compiler-xprocessing/src/test/java/androidx/room/processing/XElementTest.kt
M room/compiler/build.gradle
M room/compiler/src/main/kotlin/androidx/room/DatabaseProcessingStep.kt
M room/compiler/src/main/kotlin/androidx/room/RoomProcessor.kt
D room/compiler/src/main/kotlin/androidx/room/ext/element_ext.kt
M room/compiler/src/main/kotlin/androidx/room/ext/javapoet_ext.kt
D room/compiler/src/main/kotlin/androidx/room/ext/processing_env_ext.kt
D room/compiler/src/main/kotlin/androidx/room/ext/type_mirror_ext.kt
A room/compiler/src/main/kotlin/androidx/room/ext/xelement_ext.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/JvmDescriptorUtils.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/KotlinClassMetadataUtils.kt
D room/compiler/src/main/kotlin/androidx/room/kotlin/KotlinMetadataElement.kt
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/parser/ParsedQuery.kt
M room/compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
M room/compiler/src/main/kotlin/androidx/room/preconditions/Checks.kt
M room/compiler/src/main/kotlin/androidx/room/processor/Context.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DeletionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/EntityOrViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FieldProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/InsertionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/MethodProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/RawQueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/SuppressWarningProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/UpdateMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/cache/Cache.kt
M room/compiler/src/main/kotlin/androidx/room/solver/KotlinDefaultMethodDelegateBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/ObservableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/QueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CoroutineFlowResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CursorQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceFactoryQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/GuavaListenableFutureQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/InstantQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/LiveDataQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/PagingSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/QueryResultBinderProviderWithRequiredArtifact.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxCallableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binder/CallablePreparedQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/GuavaListenableFuturePreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/InstantPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/PreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/RxPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/result/PreparedQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/parameter/ArrayQueryParameterAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/parameter/CollectionQueryParameterAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ArrayQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/CoroutineFlowResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/CoroutineResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/GuavaListenableFutureQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/GuavaOptionalQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ImmutableListQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/ListQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/LiveDataQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/OptionalQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PagingQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PositionalDataSourceQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RxCallableQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/RxQueryResultBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/SingleEntityQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/CallableDeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/CallableInsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/DeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InstantDeleteOrUpdateMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/InstantInsertMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/DeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InstantDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/InstantInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/DeleteOrUpdateMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/CoroutineTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/InstantTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/TransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/result/TransactionMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedBooleanToBoxedIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedPrimitiveColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteArrayColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteBufferColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CompositeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CompositeTypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/CursorValueReader.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/NoOpConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/PrimitiveBooleanToIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/PrimitiveColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StatementValueBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StringColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/TypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/verifier/DatabaseVerifier.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Constructor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/CustomTypeConverter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Dao.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DaoMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Database.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DatabaseView.kt
M room/compiler/src/main/kotlin/androidx/room/vo/DeletionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/EmbeddedField.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Entity.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Field.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FieldGetter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FieldSetter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ForeignKeyAction.kt
M room/compiler/src/main/kotlin/androidx/room/vo/FtsEntity.kt
M room/compiler/src/main/kotlin/androidx/room/vo/InsertionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/KotlinDefaultMethodDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/vo/LanguageId.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Pojo.kt
M room/compiler/src/main/kotlin/androidx/room/vo/PojoMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/PrimaryKey.kt
M room/compiler/src/main/kotlin/androidx/room/vo/QueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/QueryParameter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Relation.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RelationCollector.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ShortcutMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/ShortcutQueryParameter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/TransactionMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/UpdateMethod.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Warning.kt
M room/compiler/src/main/kotlin/androidx/room/writer/ClassWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DatabaseWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityDeletionAdapterWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityInsertionAdapterWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/FieldReadWriteWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/FtsTableInfoValidationWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/QueryWriter.kt
M room/compiler/src/main/kotlin/androidx/room/writer/TableInfoValidationWriter.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
D room/compiler/src/test/kotlin/androidx/room/kotlin/JvmDescriptorUtilsTest.kt
D room/compiler/src/test/kotlin/androidx/room/kotlin/KotlinMetadataElementTest.kt
M room/compiler/src/test/kotlin/androidx/room/log/RLogTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseViewProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DeletionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityNameMatchingVariationsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts3TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTargetMethodTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/UpdateMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegateTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAssignmentTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestInvocation.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/verifier/DatabaseVerifierTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/DatabaseTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/EntityTest.kt
M room/compiler/src/test/kotlin/androidx/room/vo/FtsEntityTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
ap...@google.com <ap...@google.com> #12
Project: platform/frameworks/support
Branch: androidx-master-dev
commit d1a124ae29462b3dffa40455371c54f237201dff
Author: Yigit Boyar <yboyar@google.com>
Date: Sun Aug 23 23:01:19 2020
Remove primitive-specific calls from XType
This CL does a cleanup in XType for easier KSP support.
* Removed `isPrimitiveXXX` methods from XType. We don't really
care if something is a primitive, it was only used as a proxy
for nullability.
* Moved `isInt, isLong, isByte` into implementations of XType
instead since they are all 1 class in kotlin but two types in Java.
* Removed `isNot` methods and instead moved them into an extension
file in Room.
Bug: 160322705
Test: existing tests + a new Long[] test case
Change-Id: I583cc5fa970f236eb6a22026303104b2ca847805
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/compiler/src/main/kotlin/androidx/room/ext/xtype_ext.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/InstantTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityInsertionAdapterWriter.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/PKeyTestDatabase.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/PrimaryKeyTest.java
https://android-review.googlesource.com/1407552
Branch: androidx-master-dev
commit d1a124ae29462b3dffa40455371c54f237201dff
Author: Yigit Boyar <yboyar@google.com>
Date: Sun Aug 23 23:01:19 2020
Remove primitive-specific calls from XType
This CL does a cleanup in XType for easier KSP support.
* Removed `isPrimitiveXXX` methods from XType. We don't really
care if something is a primitive, it was only used as a proxy
for nullability.
* Moved `isInt, isLong, isByte` into implementations of XType
instead since they are all 1 class in kotlin but two types in Java.
* Removed `isNot` methods and instead moved them into an extension
file in Room.
Bug: 160322705
Test: existing tests + a new Long[] test case
Change-Id: I583cc5fa970f236eb6a22026303104b2ca847805
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/compiler/src/main/kotlin/androidx/room/ext/xtype_ext.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/transaction/binder/InstantTransactionMethodBinder.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/writer/EntityInsertionAdapterWriter.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/PKeyTestDatabase.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/PrimaryKeyTest.java
ap...@google.com <ap...@google.com> #13
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e5cb9bb68176b856e5acd2078f3e56c50926a9cf
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 28 19:19:56 2020
Add XRawType
RawTypes are available in java for backwards compatibility and
are NOT available in Kotlin, which makes it impossible to implement
erasure in KSP.
On ther other hand, erasure is very handy to check if an XType
is a known type and act on it.
This CL replaces XType.erasure with XType.rawType where rawType
IS NOT an instance of XType (similar to XMethodType). Instead,
it allows us to abstract raw infromation w/o relying on the underlying
processor and only has APIs neede by room for this purpose.
Javac implementation relies on erasure while KSP implementation
will use star projection.
Bug: 160322705
Test: existing tests
Change-Id: I742d3d463a45af0937b97b18393f3300eb9fd9fc
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/MethodProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CoroutineFlowResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceFactoryQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/GuavaListenableFutureQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/LiveDataQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/PagingSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxCallableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/GuavaListenableFuturePreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/RxPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableInsertMethodBinderProvider.kt
https://android-review.googlesource.com/1414851
Branch: androidx-master-dev
commit e5cb9bb68176b856e5acd2078f3e56c50926a9cf
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 28 19:19:56 2020
Add XRawType
RawTypes are available in java for backwards compatibility and
are NOT available in Kotlin, which makes it impossible to implement
erasure in KSP.
On ther other hand, erasure is very handy to check if an XType
is a known type and act on it.
This CL replaces XType.erasure with XType.rawType where rawType
IS NOT an instance of XType (similar to XMethodType). Instead,
it allows us to abstract raw infromation w/o relying on the underlying
processor and only has APIs neede by room for this purpose.
Javac implementation relies on erasure while KSP implementation
will use star projection.
Bug: 160322705
Test: existing tests
Change-Id: I742d3d463a45af0937b97b18393f3300eb9fd9fc
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/MethodProcessorDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutParameterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/CoroutineFlowResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceFactoryQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/DataSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/GuavaListenableFutureQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/LiveDataQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/PagingSourceQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxCallableQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/GuavaListenableFuturePreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/RxPreparedQueryResultBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableDeleteOrUpdateMethodBinderProvider.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/RxCallableInsertMethodBinderProvider.kt
ap...@google.com <ap...@google.com> #14
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit 6206304314d079d7346f7bde53174dff6e226633
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 14 12:04:37 2020
Add prebuilts for kotlin symbol processing
Unfortunately it still depends on 1.4.0-rc hence i had to add it
as well.
Bug: 160322705
Test: n/a
Change-Id: If0c70d5a52f6b901c10e9ebbcd14c5da6a8a2097
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom.sha1
https://android-review.googlesource.com/1426944
Branch: androidx-master-dev
commit 6206304314d079d7346f7bde53174dff6e226633
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 14 12:04:37 2020
Add prebuilts for kotlin symbol processing
Unfortunately it still depends on 1.4.0-rc hence i had to add it
as well.
Bug: 160322705
Test: n/a
Change-Id: If0c70d5a52f6b901c10e9ebbcd14c5da6a8a2097
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.2.10/kotlin-compile-testing-ksp-1.2.10.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.2.10/kotlin-compile-testing-1.2.10.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.0/kotlin-annotation-processing-embeddable-1.4.0.pom.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200828/kotlin-ksp-1.4.0-dev-experimental-20200828.pom.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-rc-dev-experimental-20200731/kotlin-ksp-1.4.0-rc-dev-experimental-20200731.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200828/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200828.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-rc-dev-experimental-20200731/kotlin-symbol-processing-api-1.4.0-rc-dev-experimental-20200731.pom.sha1
ap...@google.com <ap...@google.com> #15
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 50131b2722e98c9e3a614bc52a1052c71bcaf088
Author: Yigit Boyar <yboyar@gmail.com>
Date: Tue Sep 15 00:32:42 2020
[GH] Partial implementation for XProcessing with KSP
XType implementation with KSP
This PR adds the first bits of support for KSP in Room. It is still far from complete but moving development back to aosp since both AndroidX and KSP moved to Kotlin 1.4.0
Bug: 160322705
Test: KspTypeTest, KspTypeExtTest
This is an imported pull request fromhttps://github.com/androidx/androidx/pull/77 .
Resolves #77
Github-Pr-Head-Sha: 736bb2efe43ef24c754cb1bc8790756c2bb55a59
GitOrigin-RevId: 3186cf6ea602e682adf57dae1c8c4963ba6a38a9
Change-Id: Ic74a10f3b9dc484698b0fa555cc3edc84113bbca
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
https://android-review.googlesource.com/1426448
Branch: androidx-master-dev
commit 50131b2722e98c9e3a614bc52a1052c71bcaf088
Author: Yigit Boyar <yboyar@gmail.com>
Date: Tue Sep 15 00:32:42 2020
[GH] Partial implementation for XProcessing with KSP
XType implementation with KSP
This PR adds the first bits of support for KSP in Room. It is still far from complete but moving development back to aosp since both AndroidX and KSP moved to Kotlin 1.4.0
Bug: 160322705
Test: KspTypeTest, KspTypeExtTest
This is an imported pull request from
Resolves #77
Github-Pr-Head-Sha: 736bb2efe43ef24c754cb1bc8790756c2bb55a59
GitOrigin-RevId: 3186cf6ea602e682adf57dae1c8c4963ba6a38a9
Change-Id: Ic74a10f3b9dc484698b0fa555cc3edc84113bbca
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
ap...@google.com <ap...@google.com> #16
Project: platform/frameworks/support
Branch: androidx-master-dev
commit fc93ae2e5d85d66e69b5511bb853da792b06515a
Author: Yigit Boyar <yboyar@gmail.com>
Date: Mon Sep 07 11:31:18 2020
KSP XElement / XTypeElement implementation
This CL covers only the basics of an element and type element.
Methods, properties etc are not implemented yet.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: I3d2abafc2b63c0a5dec77ee6c8cc4666e9584199
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1427132
Branch: androidx-master-dev
commit fc93ae2e5d85d66e69b5511bb853da792b06515a
Author: Yigit Boyar <yboyar@gmail.com>
Date: Mon Sep 07 11:31:18 2020
KSP XElement / XTypeElement implementation
This CL covers only the basics of an element and type element.
Methods, properties etc are not implemented yet.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: I3d2abafc2b63c0a5dec77ee6c8cc4666e9584199
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #17
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit 23427cf7ed959abadbc4b3defec224a4ff4a7bc9
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 13:52:07 2020
Update KSP to 20200914
Bug: 160322705
Test: existing tests
Change-Id: I968c34994a244b2a046b2d66c3d6460373ae22ea
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom.sha1
https://android-review.googlesource.com/1428114
Branch: androidx-master-dev
commit 23427cf7ed959abadbc4b3defec224a4ff4a7bc9
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 13:52:07 2020
Update KSP to 20200914
Bug: 160322705
Test: existing tests
Change-Id: I968c34994a244b2a046b2d66c3d6460373ae22ea
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/LICENSE
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.jar.sha1
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom.md5
A org/jetbrains/kotlin/kotlin-ksp/1.4.0-dev-experimental-20200914/kotlin-ksp-1.4.0-dev-experimental-20200914.pom.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/LICENSE
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.jar.sha1
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom.md5
A org/jetbrains/kotlin/kotlin-symbol-processing-api/1.4.0-dev-experimental-20200914/kotlin-symbol-processing-api-1.4.0-dev-experimental-20200914.pom.sha1
ap...@google.com <ap...@google.com> #18
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 69046461129ff05b0997d69a40eded162eecaf13
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 15:38:37 2020
Implement KspType.asTypeElement
Added missing implementation for KspType.asTypeElement.
I couldn't reproduce a case where KspType.declaration is not a KSClassDeclaration
but also, the asTypeElement API requires it being a type hence it is non-null
return type and we'll throw an exception if this happens.
Bug: 160322705
Test: KspTypeTest
Change-Id: I65d3e958a8cb79a19223b9cd9c2881809dfe84a4
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
https://android-review.googlesource.com/1427723
Branch: androidx-master-dev
commit 69046461129ff05b0997d69a40eded162eecaf13
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 15:38:37 2020
Implement KspType.asTypeElement
Added missing implementation for KspType.asTypeElement.
I couldn't reproduce a case where KspType.declaration is not a KSClassDeclaration
but also, the asTypeElement API requires it being a type hence it is non-null
return type and we'll throw an exception if this happens.
Bug: 160322705
Test: KspTypeTest
Change-Id: I65d3e958a8cb79a19223b9cd9c2881809dfe84a4
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
ap...@google.com <ap...@google.com> #19
Project: platform/frameworks/support
Branch: androidx-master-dev
commit be1af0e7e2aa21e3e4698235213613182c82e644
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 13:18:36 2020
Update KSP to 20200914
Cleaned up some code for fixed issues.
Stopped extracting a reasonable name from errors when we have
access to KSName. Might bring back later but right now it adds
complexity that we don't need. ( b/168639183 )
Added checks to ensure KSTypeReference/KSTypeArgument .type is
not nullable. It will later change in KSP API and having it now
simplifies our logic.
Bug: 168639183
Bug: 160322705
Test: existing tests
Change-Id: I66cd4bfe2cd68e0a752f3ee9b98b7d4c2efb6c82
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
https://android-review.googlesource.com/1427138
Branch: androidx-master-dev
commit be1af0e7e2aa21e3e4698235213613182c82e644
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 13:18:36 2020
Update KSP to 20200914
Cleaned up some code for fixed issues.
Stopped extracting a reasonable name from errors when we have
access to KSName. Might bring back later but right now it adds
complexity that we don't need. (
Added checks to ensure KSTypeReference/KSTypeArgument .type is
not nullable. It will later change in KSP API and having it now
simplifies our logic.
Bug: 168639183
Bug: 160322705
Test: existing tests
Change-Id: I66cd4bfe2cd68e0a752f3ee9b98b7d4c2efb6c82
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
ap...@google.com <ap...@google.com> #20
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 3adf108222d3db7aff650427727d58acd36cbc96
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 21:15:57 2020
Implement XFieldElement in KSP
This CL implements XFieldElement in KSP. KSP does not yet provide
functionality to get `asMemberOf` so I added a simple incomplete
implementation until KSP support arrives.
Bug: 160322705
Test: KspTypeElementTest, KspFieldElementTest, KSPropertyDeclarationExtTest
Change-Id: I4c9f7d912542de105aeb1c4f6eeea1ccb21af60d
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSPropertyDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSProertyDeclarationExtTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestExtensions.kt
https://android-review.googlesource.com/1427089
Branch: androidx-master-dev
commit 3adf108222d3db7aff650427727d58acd36cbc96
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 15 21:15:57 2020
Implement XFieldElement in KSP
This CL implements XFieldElement in KSP. KSP does not yet provide
functionality to get `asMemberOf` so I added a simple incomplete
implementation until KSP support arrives.
Bug: 160322705
Test: KspTypeElementTest, KspFieldElementTest, KSPropertyDeclarationExtTest
Change-Id: I4c9f7d912542de105aeb1c4f6eeea1ccb21af60d
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSPropertyDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSProertyDeclarationExtTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestExtensions.kt
ap...@google.com <ap...@google.com> #21
Project: platform/frameworks/support
Branch: androidx-master-dev
commit a4a31da6d66a314a766ae03c75d017cabc25dda9
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Sep 26 10:23:53 2020
Remove findDefaultImpls from XMethodElement
Kotlin generates a stub class for default methods in interfaces.
Room uses this information to implement the delegating call in DAOs.
Unfortunately, in KSP, such DefaultImpls declaration does not exist,
making this API impossible to implement without creating synthetic
elements. On the other hand, the shape of that default implementation
is fully driven by the method itself hence we don't really need to
find the stub to generate the call, we only need to know if it exists.
Hence, this CL changes XMethodElement.findKotlinDefaultImpl to
hasKotlinDefaultImpl and removes the only access to
that implementation element which was unnecessary.
Bug: 160322705
Test: existing tests
Change-Id: Icd5b894067695906ee74119f9cbd71d0c80aa0d1
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/KotlinDefaultMethodDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
https://android-review.googlesource.com/1439144
Branch: androidx-master-dev
commit a4a31da6d66a314a766ae03c75d017cabc25dda9
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Sep 26 10:23:53 2020
Remove findDefaultImpls from XMethodElement
Kotlin generates a stub class for default methods in interfaces.
Room uses this information to implement the delegating call in DAOs.
Unfortunately, in KSP, such DefaultImpls declaration does not exist,
making this API impossible to implement without creating synthetic
elements. On the other hand, the shape of that default implementation
is fully driven by the method itself hence we don't really need to
find the stub to generate the call, we only need to know if it exists.
Hence, this CL changes XMethodElement.findKotlinDefaultImpl to
hasKotlinDefaultImpl and removes the only access to
that implementation element which was unnecessary.
Bug: 160322705
Test: existing tests
Change-Id: Icd5b894067695906ee74119f9cbd71d0c80aa0d1
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TransactionMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/KotlinDefaultMethodDelegate.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
ap...@google.com <ap...@google.com> #22
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 50107d9b1703933d236da6e21cfeac2c5eb99922
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Sep 25 09:34:12 2020
Simplify methods in XTypeElement
This CL removes variations of getMethods from XTypeElement.
Instead, it only requires implementing getDeclaredMethods and an
override check, then XTypeElement implements custom getters.
This will make it easier to implement the KSP version.
Bug: 160322705
Test: existing tests
Change-Id: I6eaee7ec1aeab0146cb063a39b300ff4ce402331
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/MethodCollector.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
https://android-review.googlesource.com/1438972
Branch: androidx-master-dev
commit 50107d9b1703933d236da6e21cfeac2c5eb99922
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Sep 25 09:34:12 2020
Simplify methods in XTypeElement
This CL removes variations of getMethods from XTypeElement.
Instead, it only requires implementing getDeclaredMethods and an
override check, then XTypeElement implements custom getters.
This will make it easier to implement the KSP version.
Bug: 160322705
Test: existing tests
Change-Id: I6eaee7ec1aeab0146cb063a39b300ff4ce402331
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/MethodCollector.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
ap...@google.com <ap...@google.com> #23
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 3c4adc6384d4ce19df688fa8bd8f350e03e35cef
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Sep 17 13:29:47 2020
Implement method getters in KspTypeElement
This CL implements getters for methods & constructors in KspTypeElement.
KspMethodElement and sisters are not implemented yet, I'll followup
for those as it makes the CL more complicated.
In KSP, property setters/getters do not show up in function list.
For those, we create a Synthetic method element.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: I32e85da6293a55a6bbbb59688da27c0238bad4a6
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSClassDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticGetterMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticSetterMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
https://android-review.googlesource.com/1431329
Branch: androidx-master-dev
commit 3c4adc6384d4ce19df688fa8bd8f350e03e35cef
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Sep 17 13:29:47 2020
Implement method getters in KspTypeElement
This CL implements getters for methods & constructors in KspTypeElement.
KspMethodElement and sisters are not implemented yet, I'll followup
for those as it makes the CL more complicated.
In KSP, property setters/getters do not show up in function list.
For those, we create a Synthetic method element.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: I32e85da6293a55a6bbbb59688da27c0238bad4a6
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSClassDeclarationExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticGetterMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticSetterMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
ap...@google.com <ap...@google.com> #24
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 1e8692391fa54ef2990a83cf28cfe89415f0dacc
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Sep 26 14:51:49 2020
Improve variance handling in KSP TypeName impl
This CL improves KSType.typeName extension to properly handle
variance.
Bug: 160322705
Test: KSTypeExtTest.kaptGoldenTest
Change-Id: I0a9734d8fa220043638377c3f2112ffc9bbc5c7a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
https://android-review.googlesource.com/1439145
Branch: androidx-master-dev
commit 1e8692391fa54ef2990a83cf28cfe89415f0dacc
Author: Yigit Boyar <yboyar@google.com>
Date: Sat Sep 26 14:51:49 2020
Improve variance handling in KSP TypeName impl
This CL improves KSType.typeName extension to properly handle
variance.
Bug: 160322705
Test: KSTypeExtTest.kaptGoldenTest
Change-Id: I0a9734d8fa220043638377c3f2112ffc9bbc5c7a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
ap...@google.com <ap...@google.com> #25
Project: platform/frameworks/support
Branch: androidx-master-dev
commit a0976cc24af75cfc039a595d782b9be2b2eba2c3
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 09:56:30 2020
Handle nullability in asMemberOf
This CL fixes a bug in asMemberOf where if a type is declared
as T? but swapped with a non-null type, we would consider it
non-null even though it should still be nullable.
Bug: 160322705
Test: KspAsMemberOfTest
Change-Id: I4e34adfeb0c16efe9d43fb302b5e590404bd64aa
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSPropertyDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSProertyDeclarationExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1441926
Branch: androidx-master-dev
commit a0976cc24af75cfc039a595d782b9be2b2eba2c3
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 09:56:30 2020
Handle nullability in asMemberOf
This CL fixes a bug in asMemberOf where if a type is declared
as T? but swapped with a non-null type, we would consider it
non-null even though it should still be nullable.
Bug: 160322705
Test: KspAsMemberOfTest
Change-Id: I4e34adfeb0c16efe9d43fb302b5e590404bd64aa
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSPropertyDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSProertyDeclarationExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #26
Project: platform/frameworks/support
Branch: androidx-master-dev
commit fcfecb3c291ec9652452667bf8063467042fdc7e
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 13:53:10 2020
Rename KSPropertyDeclarationExt to KSAsMemberOf
This file is not about property declaration but more about asMemberOf
implementation. It will support more declarations in followup CLs
once methods are implemented.
Bug: 160322705
Test: n/a
Change-Id: I4d9124ca21aceccced0a578ae23255ca02a5cd2d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
https://android-review.googlesource.com/1441788
Branch: androidx-master-dev
commit fcfecb3c291ec9652452667bf8063467042fdc7e
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 13:53:10 2020
Rename KSPropertyDeclarationExt to KSAsMemberOf
This file is not about property declaration but more about asMemberOf
implementation. It will support more declarations in followup CLs
once methods are implemented.
Bug: 160322705
Test: n/a
Change-Id: I4d9124ca21aceccced0a578ae23255ca02a5cd2d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
ap...@google.com <ap...@google.com> #27
Project: platform/frameworks/support
Branch: androidx-master-dev
commit c4be958e881f5b8d272cf017b8ecdb8ea1a14906
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 17:08:09 2020
Implement XArrayType in KSP
This CL implements XArrayType in KSP.
In KSP, arrays are just generics so we detect when a type
is wrapped into KspType, similar to what we do in java
processor.
For TypeName, I opted in to java style array rather than
a Parameterized type. What we will do for TypeNames is
up for debate (e.g. at what level we'll swap them with java
representations). It is inconsistent with the rest of KSP
but for arrays, conversion is always so made sense to me
to do it here.
Bug: 160322705
Test: XArrayTypeTest
Change-Id: I2d687d5d5a77d460f66914f7167375c05036fe0d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1442338
Branch: androidx-master-dev
commit c4be958e881f5b8d272cf017b8ecdb8ea1a14906
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 29 17:08:09 2020
Implement XArrayType in KSP
This CL implements XArrayType in KSP.
In KSP, arrays are just generics so we detect when a type
is wrapped into KspType, similar to what we do in java
processor.
For TypeName, I opted in to java style array rather than
a Parameterized type. What we will do for TypeNames is
up for debate (e.g. at what level we'll swap them with java
representations). It is inconsistent with the rest of KSP
but for arrays, conversion is always so made sense to me
to do it here.
Bug: 160322705
Test: XArrayTypeTest
Change-Id: I2d687d5d5a77d460f66914f7167375c05036fe0d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #28
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 0ce2f6486b36aa2d6937b5aca7a79a6f5e30f1d7
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 30 17:21:08 2020
Refactor Synthetic Getter/Setters in KSP
This CL moves synthetic getters/setters into a sealed class and
also fixes a bug where we were generating synthetics when kapt
wouldn't (e.g. properties w/ private setters).
Sealing these synthetics will also help with taking them under control
especially in methods like override checks which will come up
in a followup CL.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: Ia5f9e8a6e30ad45ea15a2532a254b45646cec7a9
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticGetterMethodElement.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticSetterMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1443677
Branch: androidx-master-dev
commit 0ce2f6486b36aa2d6937b5aca7a79a6f5e30f1d7
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 30 17:21:08 2020
Refactor Synthetic Getter/Setters in KSP
This CL moves synthetic getters/setters into a sealed class and
also fixes a bug where we were generating synthetics when kapt
wouldn't (e.g. properties w/ private setters).
Sealing these synthetics will also help with taking them under control
especially in methods like override checks which will come up
in a followup CL.
Bug: 160322705
Test: KspTypeElementTest
Change-Id: Ia5f9e8a6e30ad45ea15a2532a254b45646cec7a9
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticGetterMethodElement.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspSyntheticSetterMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #29
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 7df02bc24c2141e25fee9d901e83f64ce12f2c93
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 30 08:58:04 2020
Implement Annotation support in KSP
This CL implements the AnnotationBox in KSP.
Unlike Java, we don't have 1 base class for elements in KSP.
Moreover, with synthetics, how we read annotations is not just
based on the KSAnnotated. For instance, when reading annotations
for a property, we should ignore all other annotations with
use sites other than field (or null, but that depends on the
declaration of the annotation).
To make the implementation manageable, I've created a new
XAnnotated interface for all annotation related methods and
KspAnnotated to implement them via delegates.
KspAnnotated also has built in filtering for use sites to
make them more declarative when specifying the delegate.
Unfortunately, KSP's java implementation has some known
bugs (https://github.com/google/ksp/issues/96 ) so I couldn't
add tests with java sources but I've added kotlin tests that
run with both kapt and ksp.
The same bug also prevents us from implementing use-site-inference
properly. When use-site is not declared, Kotlin uses the @Target
annotation on the annotation declaration, which has a list of
types hence cannot be read until #96 is fixed. For now, I've
implemented an approximation in KspAnnotated.
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: Ia4afffc0730ad346f46ac532e345d6006704c381
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1443295
Branch: androidx-master-dev
commit 7df02bc24c2141e25fee9d901e83f64ce12f2c93
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 30 08:58:04 2020
Implement Annotation support in KSP
This CL implements the AnnotationBox in KSP.
Unlike Java, we don't have 1 base class for elements in KSP.
Moreover, with synthetics, how we read annotations is not just
based on the KSAnnotated. For instance, when reading annotations
for a property, we should ignore all other annotations with
use sites other than field (or null, but that depends on the
declaration of the annotation).
To make the implementation manageable, I've created a new
XAnnotated interface for all annotation related methods and
KspAnnotated to implement them via delegates.
KspAnnotated also has built in filtering for use sites to
make them more declarative when specifying the delegate.
Unfortunately, KSP's java implementation has some known
bugs (
add tests with java sources but I've added kotlin tests that
run with both kapt and ksp.
The same bug also prevents us from implementing use-site-inference
properly. When use-site is not declared, Kotlin uses the @Target
annotation on the annotation declaration, which has a list of
types hence cannot be read until #96 is fixed. For now, I've
implemented an approximation in KspAnnotated.
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: Ia4afffc0730ad346f46ac532e345d6006704c381
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #30
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 9e877b40719f7eadefcbd6e61c4fa2a09509ea09
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Sep 25 23:41:02 2020
Implement methods in KSP
This CL adds more implementation to methods in KSP, specifically,
we can now get executable type and method parameters in KSP.
As Room still generates Java, I implemented Synthetic parameters
for suspend functions and changed their return values to match
Java as well.
Similarly, there are no getters/setters for properties hence I
implemented Synthetics for their elements and types. KAPT does not
generate them for private properties so I also excluded them from
the list.
This CL does not handle JvmOverloads yet.
Bug: 160322705
Bug: 169882122
Test: XExecutableElementTest, XExecutableTypeTest
Change-Id: I0ebb99325e648c81568a5c46a6d8e9566c73b26e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1439594
Branch: androidx-master-dev
commit 9e877b40719f7eadefcbd6e61c4fa2a09509ea09
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Sep 25 23:41:02 2020
Implement methods in KSP
This CL adds more implementation to methods in KSP, specifically,
we can now get executable type and method parameters in KSP.
As Room still generates Java, I implemented Synthetic parameters
for suspend functions and changed their return values to match
Java as well.
Similarly, there are no getters/setters for properties hence I
implemented Synthetics for their elements and types. KAPT does not
generate them for private properties so I also excluded them from
the list.
This CL does not handle JvmOverloads yet.
Bug: 160322705
Bug: 169882122
Test: XExecutableElementTest, XExecutableTypeTest
Change-Id: I0ebb99325e648c81568a5c46a6d8e9566c73b26e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #31
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b45f9cc21339503180e0154fd10de58f44e48f07
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 01 14:52:49 2020
Implement findPrimaryConstructor in KspTypeElement
This CL implements findPrimaryConstructor in KspTypeElement.
I've also found a bug in KotlinMetadata implementation where
we would crash if it does not have a primary contructor.
I've also added tests for Java sources which required adding
a new synthetic constructor element for Java classes which
are not abstract but has no explicit constructor.
https://github.com/google/ksp/issues/98
Also discovered another bug w/ KSP java interop where it could
return the same function declaration twice if it is coming from
java, added a workaround for it.
https://github.com/google/ksp/issues/99
With this change, we can enable more of XProcessingEnv tests to
include KSP. I've enabled all except for the primitive types test.
Bug: 160322705
Test: KspTypeElementTest#constructors, XProcessingEnvTest
Change-Id: I2def5651fb3d7d693e7256646168d12622eb6928
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticConstructorForJava.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1445652
Branch: androidx-master-dev
commit b45f9cc21339503180e0154fd10de58f44e48f07
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 01 14:52:49 2020
Implement findPrimaryConstructor in KspTypeElement
This CL implements findPrimaryConstructor in KspTypeElement.
I've also found a bug in KotlinMetadata implementation where
we would crash if it does not have a primary contructor.
I've also added tests for Java sources which required adding
a new synthetic constructor element for Java classes which
are not abstract but has no explicit constructor.
Also discovered another bug w/ KSP java interop where it could
return the same function declaration twice if it is coming from
java, added a workaround for it.
With this change, we can enable more of XProcessingEnv tests to
include KSP. I've enabled all except for the primitive types test.
Bug: 160322705
Test: KspTypeElementTest#constructors, XProcessingEnvTest
Change-Id: I2def5651fb3d7d693e7256646168d12622eb6928
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticConstructorForJava.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #32
Project: platform/frameworks/support
Branch: androidx-master-dev
commit a23ce77fa08a26a7f72d7c7d93422e09e10947ef
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 08 12:24:21 2020
Introduce XFiler
The initial abstraction for XProcessing ignored the Filer
API since it is an interface. This CL changes it to have
an abstraction in XProcessing instead to avoid re-implementing
full Filer API in KSP.
Also added a test for code generation. Unfortunately, KSP
does not yet support access to generated code from java sources.
https://github.com/google/ksp/issues/119
Fortunately, it won't affect Room as we don't require access
to generated code.
Bug: 160322705
Test: XProcessingEnvTest.generateCode
Change-Id: I953a17cd857b7360d12269ccda1fe3c6b0489906
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler/src/main/kotlin/androidx/room/writer/ClassWriter.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
https://android-review.googlesource.com/1455164
Branch: androidx-master-dev
commit a23ce77fa08a26a7f72d7c7d93422e09e10947ef
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 08 12:24:21 2020
Introduce XFiler
The initial abstraction for XProcessing ignored the Filer
API since it is an interface. This CL changes it to have
an abstraction in XProcessing instead to avoid re-implementing
full Filer API in KSP.
Also added a test for code generation. Unfortunately, KSP
does not yet support access to generated code from java sources.
Fortunately, it won't affect Room as we don't require access
to generated code.
Bug: 160322705
Test: XProcessingEnvTest.generateCode
Change-Id: I953a17cd857b7360d12269ccda1fe3c6b0489906
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler/src/main/kotlin/androidx/room/writer/ClassWriter.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
ap...@google.com <ap...@google.com> #33
Project: platform/frameworks/support
Branch: androidx-master-dev
commit eff244a415a8d0907fc30cb63ee874fe61bfb241
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Oct 02 13:26:57 2020
Add NonDeclared types for KSP
In KSP, all types are modeled as KSType but that does not match
the model of Java's TypeMirror, DeclaredType and ArrayType.
This CL is an attempt to mimic the java types in KSP.
To do this, I've created sub classes for KspType for declared
and type arguments. The TypeArgument one is specifically necessary
to create the right typeName for them and also distinguish them
from declared types.
This CL is not fully complete, we need to make the KspTypeTests
run with KAPT to ensure we match KAPT as much as possible where it
makes sense (e.g. for nullability, KSP is better than KAPT and we
should keep it).
Similarly, we need to make all of XTypeTests run with KSP which
requires implementing primitive types (somehow) in KSP.
I'll implement those in followups.
Bug: 160322705
Test: XTypeTest, KSTypeExtTest, KspTypeTest
Change-Id: Icd0e91ca14ce9fd34924e5c4cb90b7ac26aaff84
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1447495
Branch: androidx-master-dev
commit eff244a415a8d0907fc30cb63ee874fe61bfb241
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Oct 02 13:26:57 2020
Add NonDeclared types for KSP
In KSP, all types are modeled as KSType but that does not match
the model of Java's TypeMirror, DeclaredType and ArrayType.
This CL is an attempt to mimic the java types in KSP.
To do this, I've created sub classes for KspType for declared
and type arguments. The TypeArgument one is specifically necessary
to create the right typeName for them and also distinguish them
from declared types.
This CL is not fully complete, we need to make the KspTypeTests
run with KAPT to ensure we match KAPT as much as possible where it
makes sense (e.g. for nullability, KSP is better than KAPT and we
should keep it).
Similarly, we need to make all of XTypeTests run with KSP which
requires implementing primitive types (somehow) in KSP.
I'll implement those in followups.
Bug: 160322705
Test: XTypeTest, KSTypeExtTest, KspTypeTest
Change-Id: Icd0e91ca14ce9fd34924e5c4cb90b7ac26aaff84
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #34
Project: platform/frameworks/support
Branch: androidx-master-dev
commit a172ed3d8dc0a8ed763a0494e9cd51b52c0f8103
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 14:52:43 2020
update ksp to the new package
This CL updates KSP to latest version.
It is rather large CL due to package name change in KSP.
Unfortunately, the new version has a regression where
override check does not check for type inheritance.
I implemented a workaround for it in Room for now.
https://github.com/google/ksp/issues/123
Another notable change is that KSTypeReference's type
is not null anymore so I updated the code for it and removed
requireType.
As the CL is already confusing, didn't go through closed
issues to remove their workarounds yet, will do followup
CLs for them.
Bug: 160322705
Test: existing tests
Change-Id: Ie4902a4d23bb3448d81273a508775cbd8c3b0bd4
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSClassDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1457718
Branch: androidx-master-dev
commit a172ed3d8dc0a8ed763a0494e9cd51b52c0f8103
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 14:52:43 2020
update ksp to the new package
This CL updates KSP to latest version.
It is rather large CL due to package name change in KSP.
Unfortunately, the new version has a regression where
override check does not check for type inheritance.
I implemented a workaround for it in Room for now.
Another notable change is that KSTypeReference's type
is not null anymore so I updated the code for it and removed
requireType.
As the CL is already confusing, didn't go through closed
issues to remove their workarounds yet, will do followup
CLs for them.
Bug: 160322705
Test: existing tests
Change-Id: Ie4902a4d23bb3448d81273a508775cbd8c3b0bd4
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSClassDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #35
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit 9e9e8e78f0f1e917ca93b998be2065fbbeec3e52
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 14:51:21 2020
update prebuilts for KSP
Added prebuilts for KSP 20201009, kotlin compile testing 1.3.1.
Bug: 160322705
Test: n/a
Change-Id: I743101d38cac05db489fb6901f146bc0cfaed63e
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom.sha1
https://android-review.googlesource.com/1457404
Branch: androidx-master-dev
commit 9e9e8e78f0f1e917ca93b998be2065fbbeec3e52
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 14:51:21 2020
update prebuilts for KSP
Added prebuilts for KSP 20201009, kotlin compile testing 1.3.1.
Bug: 160322705
Test: n/a
Change-Id: I743101d38cac05db489fb6901f146bc0cfaed63e
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.1/kotlin-compile-testing-ksp-1.3.1.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.1/kotlin-compile-testing-1.3.1.pom.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.10/kotlin-annotation-processing-embeddable-1.4.10.pom.sha1
ap...@google.com <ap...@google.com> #36
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 879906d58866df951a6a7972f6e6ce031790b4e7
Author: Yigit Boyar <yboyar@google.com>
Date: Sun Oct 18 10:33:10 2020
Implement findGeneratedAnnotation in KspProcessingEnv
I implemented something very similar to what auto-common's
GeneratedAnnotations does except we don't have the version.
Instead, we look for the newer one first and fall back to
the older one.
Bug: 160322705
Test: XProcessingEnvTest.findGeneratedAnnotation
Change-Id: I94ee57c6de17bd4e36a579df958758ecf91ad7f8
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
https://android-review.googlesource.com/1465582
Branch: androidx-master-dev
commit 879906d58866df951a6a7972f6e6ce031790b4e7
Author: Yigit Boyar <yboyar@google.com>
Date: Sun Oct 18 10:33:10 2020
Implement findGeneratedAnnotation in KspProcessingEnv
I implemented something very similar to what auto-common's
GeneratedAnnotations does except we don't have the version.
Instead, we look for the newer one first and fall back to
the older one.
Bug: 160322705
Test: XProcessingEnvTest.findGeneratedAnnotation
Change-Id: I94ee57c6de17bd4e36a579df958758ecf91ad7f8
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
ap...@google.com <ap...@google.com> #37
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 3474d636719f88dee92d4b841e09caa6c682f817
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 12:00:33 2020
Messager implementation for KSP
I couldn't add a test for KSP because right now logging
errors do not fail compilation in KSP.
If by the time we need to run room compiler's failure tests,
if it is still not implemented in KSP, I'll update the
abstraction to track messages and throw error at the end
of compilation.
https://github.com/google/ksp/issues/122 .
I've added a test to be enabled once that issue is fixed.
Bug: 160322705
Test: XProcessingEnvTest
Change-Id: Ied320bf329e026a71cc8c107f40e371e6bf8691e
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
https://android-review.googlesource.com/1457519
Branch: androidx-master-dev
commit 3474d636719f88dee92d4b841e09caa6c682f817
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 12 12:00:33 2020
Messager implementation for KSP
I couldn't add a test for KSP because right now logging
errors do not fail compilation in KSP.
If by the time we need to run room compiler's failure tests,
if it is still not implemented in KSP, I'll update the
abstraction to track messages and throw error at the end
of compilation.
I've added a test to be enabled once that issue is fixed.
Bug: 160322705
Test: XProcessingEnvTest
Change-Id: Ied320bf329e026a71cc8c107f40e371e6bf8691e
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
ap...@google.com <ap...@google.com> #38
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 12991dfc5f85d2555e56da8ce76e55d2b2f9190c
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 09:26:11 2020
Introduce KspPrimitive Type
This CL introduces a new KspPrimitiveType : KspType which is used
to represent java primitives in KSP as primitives do not exist in
Kotlin.
Unfortunately, we cannot decide whether a kotlin type will be a
primitive or not just by looking at the type itself. For instance,
in most cases, a `kotlin.Int!!` is a java `int` but it might also
be mapped to `java.lang.Integer` if the type was resolved from a
type parameter (e.g. List<kotlin.Int>.get returns a boxed Integer).
To support this, I've removed the `wrap(KSType)` method from
KspProcessingEnv and replaced it with a wrap method that also
expects the KSTypeReference. KspProcessingEnv uses that type
reference to see if the references was resolved from a type
parameter. For cases where we always want the boxed type (e.g.
type of a TypeElement, there is a wrapDeclared method).
This is still not fully complete as it will miss overrides but
for overrides, kotlin generates two methods (see aosp/1458703).
I'll tackle that when we can run integration tests.
This CL makes TypeNames a bit inconsistent as the primitive types
are the only TypeNames in java. I'll followup with another CL
where
* TypeNames are always generated in java
* Ksp processing always uses kotlin types (e.g. java.util.List will
be mapped to kotlin.collections.MutableList).
After that CL, consistency will come back and then we'll start
running integration tests.
Bug: 160322705
Test: Existing tests + XProcessingEnvTest#getPrimitives
Change-Id: I271171cf7b35cd8f4249350fbdfadf81f55e6a8a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1470910
Branch: androidx-master-dev
commit 12991dfc5f85d2555e56da8ce76e55d2b2f9190c
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 09:26:11 2020
Introduce KspPrimitive Type
This CL introduces a new KspPrimitiveType : KspType which is used
to represent java primitives in KSP as primitives do not exist in
Kotlin.
Unfortunately, we cannot decide whether a kotlin type will be a
primitive or not just by looking at the type itself. For instance,
in most cases, a `kotlin.Int!!` is a java `int` but it might also
be mapped to `java.lang.Integer` if the type was resolved from a
type parameter (e.g. List<kotlin.Int>.get returns a boxed Integer).
To support this, I've removed the `wrap(KSType)` method from
KspProcessingEnv and replaced it with a wrap method that also
expects the KSTypeReference. KspProcessingEnv uses that type
reference to see if the references was resolved from a type
parameter. For cases where we always want the boxed type (e.g.
type of a TypeElement, there is a wrapDeclared method).
This is still not fully complete as it will miss overrides but
for overrides, kotlin generates two methods (see aosp/1458703).
I'll tackle that when we can run integration tests.
This CL makes TypeNames a bit inconsistent as the primitive types
are the only TypeNames in java. I'll followup with another CL
where
* TypeNames are always generated in java
* Ksp processing always uses kotlin types (e.g. java.util.List will
be mapped to kotlin.collections.MutableList).
After that CL, consistency will come back and then we'll start
running integration tests.
Bug: 160322705
Test: Existing tests + XProcessingEnvTest#getPrimitives
Change-Id: I271171cf7b35cd8f4249350fbdfadf81f55e6a8a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #39
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 1070e4bfd7e139dea76541fff990ce5ecf855b47
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 17:02:47 2020
Add ability to get TypeName from JVM signature
This CL adds a new method to JvmDescriptorUtils to create a
TypeName from a signature.
It is not used now but will be used in a followup when we
start creating TypeNames in Java realm.
Also noticed that we were not running jvm descriptor utils
tests at all :D, fixed.
Bug: 160322705
Test: JvmDescriptorUtilsTest
Change-Id: I8d6903879c4021b461282f70b8172f0237798ed9
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtilsTest.kt
https://android-review.googlesource.com/1469737
Branch: androidx-master-dev
commit 1070e4bfd7e139dea76541fff990ce5ecf855b47
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 17:02:47 2020
Add ability to get TypeName from JVM signature
This CL adds a new method to JvmDescriptorUtils to create a
TypeName from a signature.
It is not used now but will be used in a followup when we
start creating TypeNames in Java realm.
Also noticed that we were not running jvm descriptor utils
tests at all :D, fixed.
Bug: 160322705
Test: JvmDescriptorUtilsTest
Change-Id: I8d6903879c4021b461282f70b8172f0237798ed9
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtilsTest.kt
ap...@google.com <ap...@google.com> #40
Project: platform/frameworks/support
Branch: androidx-master-dev
commit baedfa10754644f7605dc878bf484b67e6af34f4
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 11:03:39 2020
Fix modifiers of properties & accessors
This CL fixes a bug in KSP XProcessing implementation where
the modifiers for properties and its accessors were not being
reported the way javap sees them. More specifically, for a
public property, we would report it as public even though the
generated .class file will have it as private.
Also fixed how accessors calculate modifiers.
Bug: 160322705
Test: XExecutableElementTest, KspFieldElementTest
Change-Id: I586dfa1309bdb74b8ca010b4c060a856665fe089
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
https://android-review.googlesource.com/1494536
Branch: androidx-master-dev
commit baedfa10754644f7605dc878bf484b67e6af34f4
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 11:03:39 2020
Fix modifiers of properties & accessors
This CL fixes a bug in KSP XProcessing implementation where
the modifiers for properties and its accessors were not being
reported the way javap sees them. More specifically, for a
public property, we would report it as public even though the
generated .class file will have it as private.
Also fixed how accessors calculate modifiers.
Bug: 160322705
Test: XExecutableElementTest, KspFieldElementTest
Change-Id: I586dfa1309bdb74b8ca010b4c060a856665fe089
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
ap...@google.com <ap...@google.com> #41
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e03ebe8f0f2ae9a93d2a02eb85da69a2933d2043
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 11:37:25 2020
Improve kotlin array support
This CL fixes a couple of issues in KspArray implementation.
Previously, it completely ignored all built in array types
which meant classes like kotlin.IntArray were not considered
as arrays. Fixed it.
Also, we would generate int[] for Array<Int> which is wrong
as kotlin always boxes them (e.g. Array<java.lang.Integer>).
Fixed it as well.
Now KspArray is a sealed class with two implementations for
primitives and non-primitives.
Added tests for both cases that also run with KAPT to ensure
consistency.
Bug: 160322705
Test: XArrayTypeTest
Change-Id: I4efefe3f44f09885709fca46f041cec7ecd96678
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
https://android-review.googlesource.com/1494537
Branch: androidx-master-dev
commit e03ebe8f0f2ae9a93d2a02eb85da69a2933d2043
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 11:37:25 2020
Improve kotlin array support
This CL fixes a couple of issues in KspArray implementation.
Previously, it completely ignored all built in array types
which meant classes like kotlin.IntArray were not considered
as arrays. Fixed it.
Also, we would generate int[] for Array<Int> which is wrong
as kotlin always boxes them (e.g. Array<java.lang.Integer>).
Fixed it as well.
Now KspArray is a sealed class with two implementations for
primitives and non-primitives.
Added tests for both cases that also run with KAPT to ensure
consistency.
Bug: 160322705
Test: XArrayTypeTest
Change-Id: I4efefe3f44f09885709fca46f041cec7ecd96678
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
ap...@google.com <ap...@google.com> #42
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 3cf343a944df1a956110e65049d297f6449df75b
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 21:41:20 2020
Handle cases where kotlin.Unit is java void
When a method returns `Unit`, kotlin converts it to `void`.
That doesn't mean it can never be kotlin.Unit though as it
actually does happen for suspend functions with Unit return
type (the arg for Continuation is Unit, not Void).
This CL handles that with a special type as there is no other
way to represent `void` in KSP.
I've also fixed a case where the vararg parameters were not
automatically converted to array. Apperantly, it is only
necessary in KSP when the source file is in java.
Bug: 160322705
Test: existing tests + MethodSpecHelperTest
Change-Id: If5653c56d0d60bd71a21a12258ade16101cf1887
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1469741
Branch: androidx-master-dev
commit 3cf343a944df1a956110e65049d297f6449df75b
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Oct 22 21:41:20 2020
Handle cases where kotlin.Unit is java void
When a method returns `Unit`, kotlin converts it to `void`.
That doesn't mean it can never be kotlin.Unit though as it
actually does happen for suspend functions with Unit return
type (the arg for Continuation is Unit, not Void).
This CL handles that with a special type as there is no other
way to represent `void` in KSP.
I've also fixed a case where the vararg parameters were not
automatically converted to array. Apperantly, it is only
necessary in KSP when the source file is in java.
Bug: 160322705
Test: existing tests + MethodSpecHelperTest
Change-Id: If5653c56d0d60bd71a21a12258ade16101cf1887
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #43
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 45550ee1e596214c09d31a2ecfaeb558a871d559
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 19 09:12:33 2020
Use Java types for TypeNames, Kotlin types for processing
This CL changes KspProcessingEnv to always return the Kotlin
representation of a type even when it is a java specific type
(e.g. getTypeElement is called with java.lang.String, we'll
return the KspType for kotlin.String).
This makes it consistent with the java compiler where the
compiler will always return the kotlin type even when the
qualified name is explicitly specified as the java type or if
the type is originating from a java source file.
As Room generates java code, we'll be generating TypeNames in
Java. This will (in theory :) ) allow Room code generation work
as usual while allowing the rest of the processing to take
advantage of Kotlin types.
Right now, KSP does not do the java to kotlin mapping for us.
(seehttps://github.com/google/ksp/issues/126 ). Until that issue
is resolved, I've added a temporary KspTypeMapper class to do
the conversion.
This change should allow merging more of the XProcessing common
tests but I've not touched them to minimize the CL which is already
big.
There are also two known cases which are not handled in this CL.
One major case is when the return type of a function is void.
Right now, they are all mapped to kotlin.Unit because kotlin.Unit
exists in java type system as well and sometimes it leaks into
the java code generated by KAPT. We need to narrow down when it
happens and hopefully workaround.
Second case is when a generic value is overridden. I'm not sure
if that will be a problem because in that case, kotlin seems to
generate both methods and Room already handles it (aosp/1441551).
There is a good chance that we can resolve both of these issues by
detecting overrides but haven't tried it.
After this change, we should be able to start running integration
tests to catch the real issues ¯\_(ツ)_/¯. That being said, I think
the model of using Kotlin during processing and Java for final type
generation is probably the right way to proceed forward.
Bug: 160322705
Test: existing tests
Change-Id: I3885bc51807d29a9be13955ae6f12bafcdab3dc0
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/KotlinMetadataTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/JavaPoetTestExt.kt
D room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
https://android-review.googlesource.com/1466362
Branch: androidx-master-dev
commit 45550ee1e596214c09d31a2ecfaeb558a871d559
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Oct 19 09:12:33 2020
Use Java types for TypeNames, Kotlin types for processing
This CL changes KspProcessingEnv to always return the Kotlin
representation of a type even when it is a java specific type
(e.g. getTypeElement is called with java.lang.String, we'll
return the KspType for kotlin.String).
This makes it consistent with the java compiler where the
compiler will always return the kotlin type even when the
qualified name is explicitly specified as the java type or if
the type is originating from a java source file.
As Room generates java code, we'll be generating TypeNames in
Java. This will (in theory :) ) allow Room code generation work
as usual while allowing the rest of the processing to take
advantage of Kotlin types.
Right now, KSP does not do the java to kotlin mapping for us.
(see
is resolved, I've added a temporary KspTypeMapper class to do
the conversion.
This change should allow merging more of the XProcessing common
tests but I've not touched them to minimize the CL which is already
big.
There are also two known cases which are not handled in this CL.
One major case is when the return type of a function is void.
Right now, they are all mapped to kotlin.Unit because kotlin.Unit
exists in java type system as well and sometimes it leaks into
the java code generated by KAPT. We need to narrow down when it
happens and hopefully workaround.
Second case is when a generic value is overridden. I'm not sure
if that will be a problem because in that case, kotlin seems to
generate both methods and Room already handles it (aosp/1441551).
There is a good chance that we can resolve both of these issues by
detecting overrides but haven't tried it.
After this change, we should be able to start running integration
tests to catch the real issues ¯\_(ツ)_/¯. That being said, I think
the model of using Kotlin during processing and Java for final type
generation is probably the right way to proceed forward.
Bug: 160322705
Test: existing tests
Change-Id: I3885bc51807d29a9be13955ae6f12bafcdab3dc0
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/KotlinMetadataTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/JavaPoetTestExt.kt
D room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/KotlinTypeNames.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/TestInvocation.kt
ap...@google.com <ap...@google.com> #44
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit 31a773a1b2b004ae200316941a0adfc754bb3ba9
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 13 10:54:59 2020
Add prebuilts for ksp 20201110
Bug: 160322705
Test: n/a
Change-Id: I81ee138fd666127fa8bc885f1820764354373844
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.sha1
https://android-review.googlesource.com/1498351
Branch: androidx-master-dev
commit 31a773a1b2b004ae200316941a0adfc754bb3ba9
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 13 10:54:59 2020
Add prebuilts for ksp 20201110
Bug: 160322705
Test: n/a
Change-Id: I81ee138fd666127fa8bc885f1820764354373844
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.sha1
ap...@google.com <ap...@google.com> #45
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bb533e828bdfacef1f5b262925395823b64ce2fa
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 18:23:54 2020
Update KSP to 1.4.10-dev-experimental-20201110
This CL updates KSP to 20201110.
The major change is `asMemberOf` which replaces our in house
implementation. I've also cleaned up some of the TODOs from
fixed bugs.
There is one side effect of asMemberOf change where unspecified generics
turn into Any? in kotlin (while they stay as type parameters in Java).
For now, I changed tests to account for it as it should not impact
proper code but might reduce the quality of errors reported by Room when
it detects unbound generics.
The other change i had to make was to get rid of `wrapDeclared` in
KspProcessingEnv. KSP update revealed another bug where we might return
arrays from wrapDeclared as arrays used to be considered declared but
not anymore. I decided to open up `wrap` that lets you specificy whether
primitives should be considered or not so that the distinction is
between primitive or not (where arrays fall in not primitive but also
not declared).
Bug: 160322705
Test: existing tests
Change-Id: Icb05a1423218de2996f88a68b755a074133c8477
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
https://android-review.googlesource.com/1495538
Branch: androidx-master-dev
commit bb533e828bdfacef1f5b262925395823b64ce2fa
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Nov 10 18:23:54 2020
Update KSP to 1.4.10-dev-experimental-20201110
This CL updates KSP to 20201110.
The major change is `asMemberOf` which replaces our in house
implementation. I've also cleaned up some of the TODOs from
fixed bugs.
There is one side effect of asMemberOf change where unspecified generics
turn into Any? in kotlin (while they stay as type parameters in Java).
For now, I changed tests to account for it as it should not impact
proper code but might reduce the quality of errors reported by Room when
it detects unbound generics.
The other change i had to make was to get rid of `wrapDeclared` in
KspProcessingEnv. KSP update revealed another bug where we might return
arrays from wrapDeclared as arrays used to be considered declared but
not anymore. I decided to open up `wrap` that lets you specificy whether
primitives should be considered or not so that the distinction is
between primitive or not (where arrays fall in not primitive but also
not declared).
Bug: 160322705
Test: existing tests
Change-Id: Icb05a1423218de2996f88a68b755a074133c8477
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
ap...@google.com <ap...@google.com> #46
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 01f9c91f0c90904a010a6c4681e8665220c5a2e6
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 18 21:01:52 2020
Slight improvements in property modifiers
This CL fixes a bug in how we calculate modifiers for the fields
derived from a property.
Previously, we checked if it is JvmField but it does not cover
java sources. Unfortunately, for .class files, we don't have
enough information as whether we should read modifiers from a]
property or not depends whether it was compiled from a java or
kotlin source. KSP does not provide the kotlin metadata annotation
hence we cannot check whether the .class files was compiled from
java or kotlin source. As an approximation, for class files, we
check whether it has the jvm field annotation or if it is delegated.
This is unlikely to be correct but passes tests :) so better than
before.
It also hits a small visibility issues w/ KSP for package private
fields.https://github.com/google/ksp/issues/159
I just added a link in the test for now as it is unlikely to effect
Room's use cases.
Last but not least, to test .class files, i had to add new infra to
pre-compile a set of classes to add as a dependency. I'm leaning
towards extracting all this testing infra into another module (from
compiler processing's test code) so that Room can start using it too
when it wants to run compilation tests with KSP.
Bug: 160322705
Test: KspFieldElementTest
Change-Id: I738e86fa24cdeaf2be8e91418a1b2a3e0a05f903
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
https://android-review.googlesource.com/1504460
Branch: androidx-master-dev
commit 01f9c91f0c90904a010a6c4681e8665220c5a2e6
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 18 21:01:52 2020
Slight improvements in property modifiers
This CL fixes a bug in how we calculate modifiers for the fields
derived from a property.
Previously, we checked if it is JvmField but it does not cover
java sources. Unfortunately, for .class files, we don't have
enough information as whether we should read modifiers from a]
property or not depends whether it was compiled from a java or
kotlin source. KSP does not provide the kotlin metadata annotation
hence we cannot check whether the .class files was compiled from
java or kotlin source. As an approximation, for class files, we
check whether it has the jvm field annotation or if it is delegated.
This is unlikely to be correct but passes tests :) so better than
before.
It also hits a small visibility issues w/ KSP for package private
fields.
I just added a link in the test for now as it is unlikely to effect
Room's use cases.
Last but not least, to test .class files, i had to add new infra to
pre-compile a set of classes to add as a dependency. I'm leaning
towards extracting all this testing infra into another module (from
compiler processing's test code) so that Room can start using it too
when it wants to run compilation tests with KSP.
Bug: 160322705
Test: KspFieldElementTest
Change-Id: I738e86fa24cdeaf2be8e91418a1b2a3e0a05f903
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
ap...@google.com <ap...@google.com> #47
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 97deaebf07ffdf667f2c3a833173abdf2f639706
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 15:45:34 2020
Make sure boxed primitives from java map to their boxed types
This CL fixes a bug where kspEnv.getType would return primitives for boxed
java primitives. (e.g. getType(java.lang.Long) would return long).
This CL fixes that and also adds tests to ensure some best effort conversion
for kotlin.Int as well (that is, non-null defaults to int and nullable defaults
to java.lang.Integer)
Bug: 160322705
Test: XProcessingEnvTest, KspProcessingEnvTest
Change-Id: I27349d47bc09f53fa367acf981dd0b5f9fdafe0e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspProcessingEnvTest.kt
https://android-review.googlesource.com/1506902
Branch: androidx-master-dev
commit 97deaebf07ffdf667f2c3a833173abdf2f639706
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 15:45:34 2020
Make sure boxed primitives from java map to their boxed types
This CL fixes a bug where kspEnv.getType would return primitives for boxed
java primitives. (e.g. getType(java.lang.Long) would return long).
This CL fixes that and also adds tests to ensure some best effort conversion
for kotlin.Int as well (that is, non-null defaults to int and nullable defaults
to java.lang.Integer)
Bug: 160322705
Test: XProcessingEnvTest, KspProcessingEnvTest
Change-Id: I27349d47bc09f53fa367acf981dd0b5f9fdafe0e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspProcessingEnvTest.kt
ap...@google.com <ap...@google.com> #48
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 211efd0339085bdf4c7eb82f2432d1dce9aacb19
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 11:59:04 2020
move xprocessing testing into a separate module
This CL moves xprocessing testing infra to another module so that Room can
start using it as well.
Ultimately we want a better API surface here but keeping this CL to just separation and
will followup w/ API refactor and also tests in room.
Bug: 160322705
Test: existing tests
Change-Id: Ia90064ccb1c648b7ca1cd02486ff5c1af96ea1e5
A room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TypeAssignmentTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
M settings.gradle
https://android-review.googlesource.com/1506483
Branch: androidx-master-dev
commit 211efd0339085bdf4c7eb82f2432d1dce9aacb19
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 11:59:04 2020
move xprocessing testing into a separate module
This CL moves xprocessing testing infra to another module so that Room can
start using it as well.
Ultimately we want a better API surface here but keeping this CL to just separation and
will followup w/ API refactor and also tests in room.
Bug: 160322705
Test: existing tests
Change-Id: Ia90064ccb1c648b7ca1cd02486ff5c1af96ea1e5
A room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TypeAssignmentTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
M settings.gradle
ap...@google.com <ap...@google.com> #49
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit e86fef98af6dd508e2da4f78c05789b1c4807678
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 23 14:50:08 2020
Add KSP 20201120 prebuilts
Bug: 160322705
Test: n/a
Change-Id: Iff33b9a771a5b4f431099e538d71a729517d3ade
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.sha1
https://android-review.googlesource.com/1508977
Branch: androidx-master-dev
commit e86fef98af6dd508e2da4f78c05789b1c4807678
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 23 14:50:08 2020
Add KSP 20201120 prebuilts
Bug: 160322705
Test: n/a
Change-Id: Iff33b9a771a5b4f431099e538d71a729517d3ade
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.sha1
ap...@google.com <ap...@google.com> #50
Project: platform/frameworks/support
Branch: androidx-master-dev
commit ff7bf98f60a156ccfbf35ecdd662deef636e29de
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 23 14:57:31 2020
Update KSP to 20201120
I've also updated KSP implementation to treat internals as KAPT.
This means, any method that receives or returns inline is hidden.
Method / property names are now read from KSP which properly modifies
them to have their jvm names applies (including internals).
Unfortunately, this hits a bug in KSP. I've safe guarded it for now
only where it reproduces to avoid hiding possible other places where
it might occur.
https://github.com/google/ksp/issues/164
Bug: 160322705
Test: InternalModifierTest
Change-Id: I739de215f40a453f4ddfb82290c969e0478de471
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/InternalModifierTest.kt
https://android-review.googlesource.com/1508805
Branch: androidx-master-dev
commit ff7bf98f60a156ccfbf35ecdd662deef636e29de
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 23 14:57:31 2020
Update KSP to 20201120
I've also updated KSP implementation to treat internals as KAPT.
This means, any method that receives or returns inline is hidden.
Method / property names are now read from KSP which properly modifies
them to have their jvm names applies (including internals).
Unfortunately, this hits a bug in KSP. I've safe guarded it for now
only where it reproduces to avoid hiding possible other places where
it might occur.
Bug: 160322705
Test: InternalModifierTest
Change-Id: I739de215f40a453f4ddfb82290c969e0478de471
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/InternalModifierTest.kt
ap...@google.com <ap...@google.com> #51
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e537ace772c14ebe37b522a001aea44e953f421f
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 19:15:11 2020
Add XType.makeNullable / makeNonNull
There are situations where room grabs types in hardcoded
places, e.g. we want to get the List type.
In those situations, the nullability of that type is unknown
as it is not obtained from source.
This is an issue when room means to mark them as nullable, for
instance in cursor value readers/writers where room uses boxed
types to denote nullability which is not enough as in KSP, they
just look like non-null kotlin.Int.
This CL introduces makeNullable/makeNonNull to make those cases
clear. There are certain cases where changing nullability of a type
might also change the type. For instance, primitives cannot be
marked as nullable. In these cases, it gets automatically boxed.
Note that it is not a two way conversion as it is totally valid to
mark a boxed primitive as non-null.
I've also noticed that we were not boxing `void` type properly
in javac processor, fixed that as well.
Bug: 160322705
Test: XNullabilityTest
Change-Id: Iad59aa7520c0995de05e8160b02c745113242e61
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/DefaultJavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XNullabilityTest.kt
https://android-review.googlesource.com/1507534
Branch: androidx-master-dev
commit e537ace772c14ebe37b522a001aea44e953f421f
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Nov 20 19:15:11 2020
Add XType.makeNullable / makeNonNull
There are situations where room grabs types in hardcoded
places, e.g. we want to get the List type.
In those situations, the nullability of that type is unknown
as it is not obtained from source.
This is an issue when room means to mark them as nullable, for
instance in cursor value readers/writers where room uses boxed
types to denote nullability which is not enough as in KSP, they
just look like non-null kotlin.Int.
This CL introduces makeNullable/makeNonNull to make those cases
clear. There are certain cases where changing nullability of a type
might also change the type. For instance, primitives cannot be
marked as nullable. In these cases, it gets automatically boxed.
Note that it is not a two way conversion as it is totally valid to
mark a boxed primitive as non-null.
I've also noticed that we were not boxing `void` type properly
in javac processor, fixed that as well.
Bug: 160322705
Test: XNullabilityTest
Change-Id: Iad59aa7520c0995de05e8160b02c745113242e61
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/DefaultJavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspArrayType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspDeclaredType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspPrimitiveType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XNullabilityTest.kt
ap...@google.com <ap...@google.com> #52
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 2a8dd93acc7061abcc3688c3675c7f18dce0a5c5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 17:02:43 2020
Handle variance when overriding methods
For generics, the code kotlin would generate depends on the variance
of the parameter or its inheritance chain.
This CL implements the same algorithm so that room can generate the
correct overrides.
This is only relevant when generating overrides in Room hence it is
tested in MethodSpecHelperTest.
I've also noticed that when a suspend function has varargs, kotlin
actually generates an array since last argument has to be a
continuation. Added a check to avoid returning such methods as vararg.
I've changed continuation parameter name to match kapt as
well so that tests can do string comparison. It only helps with golden
testing, not really an important change binary wise.
Bug: 160322705
Test: MethodSpecHelperTest, XExecutableElementTest
Change-Id: I1a53a4513b2ac772332246e979cf86ad846c878d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
https://android-review.googlesource.com/1511749
Branch: androidx-master-dev
commit 2a8dd93acc7061abcc3688c3675c7f18dce0a5c5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 17:02:43 2020
Handle variance when overriding methods
For generics, the code kotlin would generate depends on the variance
of the parameter or its inheritance chain.
This CL implements the same algorithm so that room can generate the
correct overrides.
This is only relevant when generating overrides in Room hence it is
tested in MethodSpecHelperTest.
I've also noticed that when a suspend function has varargs, kotlin
actually generates an array since last argument has to be a
continuation. Added a check to avoid returning such methods as vararg.
I've changed continuation parameter name to match kapt as
well so that tests can do string comparison. It only helps with golden
testing, not really an important change binary wise.
Bug: 160322705
Test: MethodSpecHelperTest, XExecutableElementTest
Change-Id: I1a53a4513b2ac772332246e979cf86ad846c878d
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspVoidType.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
ap...@google.com <ap...@google.com> #53
Project: platform/frameworks/support
Branch: androidx-master-dev
commit f8ff18a5af2b08ccd7480b9a21eac292aedebf3e
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 12:45:49 2020
Run XElementTests with KSP
This required a fix where method element return type was not being
returned as member (javac implementation does that).
Also hit a bug in KSP when calling jvmname for java statics, added
a workaround.
https://github.com/google/ksp/issues/170
Bug: 160322705
Test: XElementTest
Change-Id: Id1ffe436a520bc68f76986328d7d0f794ab24088
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
https://android-review.googlesource.com/1511564
Branch: androidx-master-dev
commit f8ff18a5af2b08ccd7480b9a21eac292aedebf3e
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 12:45:49 2020
Run XElementTests with KSP
This required a fix where method element return type was not being
returned as member (javac implementation does that).
Also hit a bug in KSP when calling jvmname for java statics, added
a workaround.
Bug: 160322705
Test: XElementTest
Change-Id: Id1ffe436a520bc68f76986328d7d0f794ab24088
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
ap...@google.com <ap...@google.com> #54
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 08a2716414070d19ee58fb72030f2bd7b5844bae
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 09:39:31 2020
Don't call Resolver.asMemberOf for statics
KSPResolver throws an exception if asMemberOf is called with an invalid
parameter. This CL updates the wrapper guard against statics.
I'm not adding a catch all as room shouldn't really be doing this except
for statics (e.g. we wouldn't call asMemberOf if we already knew it is
not enclosed in the given type).
While writing the test, i noticed that XTypeElement implementation with
KSP does not return static fields. We actually don't need them in room
but java implementation does return them hence i've added them to KSP
as well. We might want to change that in XTypeElement in the future as
it is unnecsesary work.
Bug: 160322705
Test: KSAsMemberOfTest
Change-Id: I315eeb5346931f2936acf0df01f0f39e5de252cf
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1511555
Branch: androidx-master-dev
commit 08a2716414070d19ee58fb72030f2bd7b5844bae
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Nov 25 09:39:31 2020
Don't call Resolver.asMemberOf for statics
KSPResolver throws an exception if asMemberOf is called with an invalid
parameter. This CL updates the wrapper guard against statics.
I'm not adding a catch all as room shouldn't really be doing this except
for statics (e.g. we wouldn't call asMemberOf if we already knew it is
not enclosed in the given type).
While writing the test, i noticed that XTypeElement implementation with
KSP does not return static fields. We actually don't need them in room
but java implementation does return them hence i've added them to KSP
as well. We might want to change that in XTypeElement in the future as
it is unnecsesary work.
Bug: 160322705
Test: KSAsMemberOfTest
Change-Id: I315eeb5346931f2936acf0df01f0f39e5de252cf
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #55
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 2747957819eb16e2c681aefd2adafff9b84db81e
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Nov 26 12:08:03 2020
Enhance variance inheritance for overrides
This CL fixes another case on variance inheritance for overrides where
if there is an overridden method w/ star projected type argument,
we should not use start projection but instead pick covariant (out).
To reproduce it, i've expanded method spec helper test to cover methods
that are not overridden. Unfortunately, it revelaled an issue where
if a kotlin interface overrides another interface with generics, it is
not possible to generate kotlin override for it if the type argument is
a final type. ( b/174313780 ). Only one test case hits it so I've added
a way to ignore them for now (we cannot fix it until room generates
kotlin sources).
I've also hit some KSP bugs:
https://github.com/google/ksp/issues/175
Overrides might fail when overriding with generics. Luckily,
findOverridee method finds it so I've added a workaround by calling
findOverridee. We could possibly only call it instead of calling both
but resolver bug will be eventually fixed in KSP hence I kept that call.
https://github.com/google/ksp/issues/174
Since we call findOverridee for properties now, it might trigger another
issue in KSP. Added a try catch for it now.
https://github.com/google/ksp/issues/173
KSP might throw when resolving deserialized type alias descriptors. Added
a try catch for it where we hit the issue. (reading annotations from an
element that also has @Throws annotation).
https://github.com/google/ksp/issues/164
This issue also affects get getJvmName for which we have safeGetJvmName.
In this CL, it happens when finding overridee for getter/setter methods in
java. Added a try catch for it for now.
Bug: 174313780
Bug: 160322705
Test: MethodSpecHelperTest
Change-Id: Ie6347f46027c317ed7784e8d2a0c834012fb4b52
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
https://android-review.googlesource.com/1512349
Branch: androidx-master-dev
commit 2747957819eb16e2c681aefd2adafff9b84db81e
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Nov 26 12:08:03 2020
Enhance variance inheritance for overrides
This CL fixes another case on variance inheritance for overrides where
if there is an overridden method w/ star projected type argument,
we should not use start projection but instead pick covariant (out).
To reproduce it, i've expanded method spec helper test to cover methods
that are not overridden. Unfortunately, it revelaled an issue where
if a kotlin interface overrides another interface with generics, it is
not possible to generate kotlin override for it if the type argument is
a final type. (
a way to ignore them for now (we cannot fix it until room generates
kotlin sources).
I've also hit some KSP bugs:
Overrides might fail when overriding with generics. Luckily,
findOverridee method finds it so I've added a workaround by calling
findOverridee. We could possibly only call it instead of calling both
but resolver bug will be eventually fixed in KSP hence I kept that call.
Since we call findOverridee for properties now, it might trigger another
issue in KSP. Added a try catch for it now.
KSP might throw when resolving deserialized type alias descriptors. Added
a try catch for it where we hit the issue. (reading annotations from an
element that also has @Throws annotation).
This issue also affects get getJvmName for which we have safeGetJvmName.
In this CL, it happens when finding overridee for getter/setter methods in
java. Added a try catch for it for now.
Bug: 174313780
Bug: 160322705
Test: MethodSpecHelperTest
Change-Id: Ie6347f46027c317ed7784e8d2a0c834012fb4b52
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
ap...@google.com <ap...@google.com> #56
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 0c96674924e371ca6c14ba7c3ffe5c8b5eeefaf9
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 30 11:11:57 2020
Add reflective annotation box to support defaults in KSP
KSP cannot always read default values in annotations. This CL introduces
a new XAnnotationBox implementation that uses reflection instead to
workaround it.
Unfortunately, KSP's behavior does not let us distinguish between null
vs default or empty array vs default. In both cases, we prefer going to
the default value in the annotation if value is required.
Also added support for enum lists in the java annotation box
implementation.
https://github.com/google/ksp/issues/53
Bug: 160322705
Test: XAnnotationBoxTest, KspReflectiveAnnotationBoxTest
Change-Id: Ic38ef8cae000a00f96b99425b9e266cddcae48cb
D room/compiler-processing/lint-baseline.xml
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspReflectiveAnnotationBox.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspReflectiveAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/JavaAnnotationWithDefaults.java
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/JavaEnum.java
https://android-review.googlesource.com/1513790
Branch: androidx-master-dev
commit 0c96674924e371ca6c14ba7c3ffe5c8b5eeefaf9
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 30 11:11:57 2020
Add reflective annotation box to support defaults in KSP
KSP cannot always read default values in annotations. This CL introduces
a new XAnnotationBox implementation that uses reflection instead to
workaround it.
Unfortunately, KSP's behavior does not let us distinguish between null
vs default or empty array vs default. In both cases, we prefer going to
the default value in the annotation if value is required.
Also added support for enum lists in the java annotation box
implementation.
Bug: 160322705
Test: XAnnotationBoxTest, KspReflectiveAnnotationBoxTest
Change-Id: Ic38ef8cae000a00f96b99425b9e266cddcae48cb
D room/compiler-processing/lint-baseline.xml
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotationBox.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspReflectiveAnnotationBox.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspReflectiveAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/JavaAnnotationWithDefaults.java
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/JavaEnum.java
ap...@google.com <ap...@google.com> #57
Project: platform/frameworks/support
Branch: androidx-master-dev
commit f1dce27d33bfeda6cd8c78a63b174f5803bdb02a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 07 22:29:16 2020
Run TypeAdapterStore tests with KSP
This CL has the first integration of KSP tests into room-compiler tests.
The first coversion happens in TypeAdapterStore test.
To make them pass with KSP, we need to start setting nullability properly
in adapters. I've only updated the ones that are necessary to pass the
tests, we'll need to do more but I want to add tests for them before
making the changes (e.g. enum adapter).
This should not have any impact on java processing pipeline as it
ignores nullability in equality etc.
Bug: 160322705
Test: TypeAdapterStoreTest
Change-Id: Ic3a572e422fc59489d41daf90178bb50280f1af6
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler/build.gradle
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedBooleanToBoxedIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedPrimitiveColumnTypeAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/InProcessorTest.kt
A room/compiler/src/test/kotlin/androidx/room/testing/XTestInvocationExt.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1520350
Branch: androidx-master-dev
commit f1dce27d33bfeda6cd8c78a63b174f5803bdb02a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 07 22:29:16 2020
Run TypeAdapterStore tests with KSP
This CL has the first integration of KSP tests into room-compiler tests.
The first coversion happens in TypeAdapterStore test.
To make them pass with KSP, we need to start setting nullability properly
in adapters. I've only updated the ones that are necessary to pass the
tests, we'll need to do more but I want to add tests for them before
making the changes (e.g. enum adapter).
This should not have any impact on java processing pipeline as it
ignores nullability in equality etc.
Bug: 160322705
Test: TypeAdapterStoreTest
Change-Id: Ic3a572e422fc59489d41daf90178bb50280f1af6
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler/build.gradle
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedBooleanToBoxedIntConverter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/BoxedPrimitiveColumnTypeAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/InProcessorTest.kt
A room/compiler/src/test/kotlin/androidx/room/testing/XTestInvocationExt.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #58
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b90c49ee13b6c965f135cd06397b17acf8c82737
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 13:38:05 2020
Enable as many tests as possible with KSP
With this CL, runProcessorTest now runs tests with KSP as well.
runProcessorTestIncludingKsp has been removed and now we have
runProcessorTestWithoutKsp for cases where we cannot make KSP
pass yet. There are only 4 remaining tests in that bucket and
they are tracked by 3 different bugs (all linked in source).
Bug: 160322705
Test: existing tests
Change-Id: I56e090c2355b2a183672d2120fa8083e5411d1af
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XNullabilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1519260
Branch: androidx-master-dev
commit b90c49ee13b6c965f135cd06397b17acf8c82737
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 13:38:05 2020
Enable as many tests as possible with KSP
With this CL, runProcessorTest now runs tests with KSP as well.
runProcessorTestIncludingKsp has been removed and now we have
runProcessorTestWithoutKsp for cases where we cannot make KSP
pass yet. There are only 4 remaining tests in that bucket and
they are tracked by 3 different bugs (all linked in source).
Bug: 160322705
Test: existing tests
Change-Id: I56e090c2355b2a183672d2120fa8083e5411d1af
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeMapper.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XNullabilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #59
Project: platform/frameworks/support
Branch: androidx-master-dev
commit deeb7a211f5999db2f984d5e73ece20d4591d2c4
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 02 21:25:25 2020
New processing test APIs
This CL updates the compilation testing infra and refactors the
internals.
The biggest change is that now there is an API to assert compilation
results rather than calling `runXXXforFailed` methods.
In this new API, the handler is responsible to make a failure assertion
if the compilation should fail, otherwise, test will expect compilation
to succeed and fail the test if the compilation fails.
As we add tests in Room, I'll add APIs to also assert generated code but
right now we don't have that use case hence not adding them (also, it is
not clear yet how it will work with kotlin compile testing).
To be able to collect diagnostics before it goes to the compilation
infra, I've moved XMessager to an abstract class (from interface) and
add ability to watch messages. Unfortunately, kotlin compile testing
does not provide an API to get messages with diagnostic types which is
why we have the abstraction on our end.
Bug: 160322705
Test: existing tests
Change-Id: I0463b1bdc822e3e1e7fd39f3e5e17581c3bfde19
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/DiagnosticMessage.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/RecordingXMessager.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnvMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMessager.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/test/kotlin/androidx/room/log/RLogTest.kt
https://android-review.googlesource.com/1516240
Branch: androidx-master-dev
commit deeb7a211f5999db2f984d5e73ece20d4591d2c4
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 02 21:25:25 2020
New processing test APIs
This CL updates the compilation testing infra and refactors the
internals.
The biggest change is that now there is an API to assert compilation
results rather than calling `runXXXforFailed` methods.
In this new API, the handler is responsible to make a failure assertion
if the compilation should fail, otherwise, test will expect compilation
to succeed and fail the test if the compilation fails.
As we add tests in Room, I'll add APIs to also assert generated code but
right now we don't have that use case hence not adding them (also, it is
not clear yet how it will work with kotlin compile testing).
To be able to collect diagnostics before it goes to the compilation
infra, I've moved XMessager to an abstract class (from interface) and
add ability to watch messages. Unfortunately, kotlin compile testing
does not provide an API to get messages with diagnostic types which is
why we have the abstraction on our end.
Bug: 160322705
Test: existing tests
Change-Id: I0463b1bdc822e3e1e7fd39f3e5e17581c3bfde19
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/DiagnosticMessage.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/RecordingXMessager.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnvMessager.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMessager.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XArrayTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSAsMemberOfTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/test/kotlin/androidx/room/log/RLogTest.kt
ap...@google.com <ap...@google.com> #60
Project: platform/prebuilts/androidx/external
Branch: androidx-master-dev
commit 8d5ebb14b36d84e5285a039bec89ad224f275e37
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 22:57:08 2020
Add prebuilts for KSP 20201204
Also added KAPT prebuilt which is necessary for testing.
Bug: 160322705
Test: n/a
Change-Id: Icb6b05b32dc18ca86f99656649c1b60aa9f7cbc7
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom.sha1
https://android-review.googlesource.com/1521178
Branch: androidx-master-dev
commit 8d5ebb14b36d84e5285a039bec89ad224f275e37
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 22:57:08 2020
Add prebuilts for KSP 20201204
Also added KAPT prebuilt which is necessary for testing.
Bug: 160322705
Test: n/a
Change-Id: Icb6b05b32dc18ca86f99656649c1b60aa9f7cbc7
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/LICENSE
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20-sources.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.jar.sha1
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom.md5
A org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.4.20/kotlin-annotation-processing-embeddable-1.4.20.pom.sha1
ap...@google.com <ap...@google.com> #61
Project: platform/frameworks/support
Branch: androidx-master-dev
commit c74f6d8bb25b24bfe78cef9cb4e080ef988d483a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 23:09:34 2020
Update KSP dependency to 20201204
This version is important because it also moves KSP's
kotlin dependency to 1.4.20.
I had to specify more versions for testing because we were
getting kotlin compiler dependencies from kotlin compile
testing, which is still on 1.4.10. Now compiler-processing-testing
artifact explicitly specifies those version to match whatever
AndroidX is using.
I've also removed workarounds for the following issues
as they are fixed.
https://github.com/google/ksp/issues/170
https://github.com/google/ksp/issues/174
Bug: 160322705
Test: existing tests
Change-Id: If948bcb762d1fad4911cf833a85cda6a36e7c787
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M development/build_log_simplifier/messages.ignore
M room/compiler-processing-testing/build.gradle
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
https://android-review.googlesource.com/1521105
Branch: androidx-master-dev
commit c74f6d8bb25b24bfe78cef9cb4e080ef988d483a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 08 23:09:34 2020
Update KSP dependency to 20201204
This version is important because it also moves KSP's
kotlin dependency to 1.4.20.
I had to specify more versions for testing because we were
getting kotlin compiler dependencies from kotlin compile
testing, which is still on 1.4.10. Now compiler-processing-testing
artifact explicitly specifies those version to match whatever
AndroidX is using.
I've also removed workarounds for the following issues
as they are fixed.
Bug: 160322705
Test: existing tests
Change-Id: If948bcb762d1fad4911cf833a85cda6a36e7c787
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M development/build_log_simplifier/messages.ignore
M room/compiler-processing-testing/build.gradle
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
ap...@google.com <ap...@google.com> #62
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 52828c75a5c2b156d9cdf8f1b4d513d3bf35ca6b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 09 12:48:28 2020
Modifier and field improvements for KSP
This CL updates KSPTypeElementTests to also run with KAPT to better
assert consistency between the two.
It triggered 3 bugs:
* KspTypeElement was reporting fields for interface properties, fixed.
We still create field elements for its synthetic setters/getters but do
not report them as fields.
* Abstract modifiers were not being read properly in KSP for methods and
properties. Fixed in KspHasModifiers to check the declaration type and
call relevant helper methods from KSP.
* The java implementation for getFieldsIncludingPrivateSupers was
returning duplicate fields which was already a known bug that never got
addressed. I've changed the implementation not to allow duplicate field
names (similar to the KSP implementation).
There is still some known differences between KSP and KAPT that I left
as is:
* KAPT adds static fields for companion object properties even when they
are not annotated with JvmField. The getter is still on the Companion
hence it is not very useful. I kept KSP the way it is (only reports Jvm
annotated properties / methods).
* KAPT also adds a `Companion` static property to the class which is not
useful hence KSP does not do that either.
* KAPT returns Object as a parent for classes while KSP does not. I kept
it that way since we never read Object.
Also updated KAPT tests to target java8.(ksp tests were already doing that)
Bug: 160322705
Bug: 35568142
Test: KspTypeElementTest, XExecutableElementTest
Change-Id: Ic4292c898d0585a280b705c34d66646adcb950b7
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/ElementExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1522242
Branch: androidx-master-dev
commit 52828c75a5c2b156d9cdf8f1b4d513d3bf35ca6b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 09 12:48:28 2020
Modifier and field improvements for KSP
This CL updates KSPTypeElementTests to also run with KAPT to better
assert consistency between the two.
It triggered 3 bugs:
* KspTypeElement was reporting fields for interface properties, fixed.
We still create field elements for its synthetic setters/getters but do
not report them as fields.
* Abstract modifiers were not being read properly in KSP for methods and
properties. Fixed in KspHasModifiers to check the declaration type and
call relevant helper methods from KSP.
* The java implementation for getFieldsIncludingPrivateSupers was
returning duplicate fields which was already a known bug that never got
addressed. I've changed the implementation not to allow duplicate field
names (similar to the KSP implementation).
There is still some known differences between KSP and KAPT that I left
as is:
* KAPT adds static fields for companion object properties even when they
are not annotated with JvmField. The getter is still on the Companion
hence it is not very useful. I kept KSP the way it is (only reports Jvm
annotated properties / methods).
* KAPT also adds a `Companion` static property to the class which is not
useful hence KSP does not do that either.
* KAPT returns Object as a parent for classes while KSP does not. I kept
it that way since we never read Object.
Also updated KAPT tests to target java8.(ksp tests were already doing that)
Bug: 160322705
Bug: 35568142
Test: KspTypeElementTest, XExecutableElementTest
Change-Id: Ic4292c898d0585a280b705c34d66646adcb950b7
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/ElementExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #63
Project: platform/frameworks/support
Branch: androidx-master-dev
commit fab739f6f2b2e66ac95f8300bd55080fb3b7d078
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 09 14:48:55 2020
Improve Ksp isSameType & error types
This CL fixes two issues:
* isSameType in KSP was not working as Room expects for platform types.
We still want it to consider nullability for kotlin types but for types
coming from Java (or .class w/ nullability), we use flexible equality
the same way kotlin does.
We may eventually change how isSameType works as it is not always clear
whether it expects exact equality with nullability or without
nullability.
* We were losing error types by eagerly calling `asMemberOf` which loses
that information.https://github.com/google/ksp/issues/107
To workaround it, we don't call asMemberOf if the type resolution
returns an error type.
I've also updated KspTypeTests to use the XProcessing classes to ensure
they go through the same expected path (which revelaed the asMemberOf
bug). They are still not running w/ KAPT because some things like
wildcard handling changes. I'll do that in a followup.
Bug: 160322705
Bug: 175246617
Test: XTypeTest, KspTypeTest
Change-Id: Ibd241456e4f402e5bc2b9002511ff59b7fab08e2
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
https://android-review.googlesource.com/1522247
Branch: androidx-master-dev
commit fab739f6f2b2e66ac95f8300bd55080fb3b7d078
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 09 14:48:55 2020
Improve Ksp isSameType & error types
This CL fixes two issues:
* isSameType in KSP was not working as Room expects for platform types.
We still want it to consider nullability for kotlin types but for types
coming from Java (or .class w/ nullability), we use flexible equality
the same way kotlin does.
We may eventually change how isSameType works as it is not always clear
whether it expects exact equality with nullability or without
nullability.
* We were losing error types by eagerly calling `asMemberOf` which loses
that information.
To workaround it, we don't call asMemberOf if the type resolution
returns an error type.
I've also updated KspTypeTests to use the XProcessing classes to ensure
they go through the same expected path (which revelaed the asMemberOf
bug). They are still not running w/ KAPT because some things like
wildcard handling changes. I'll do that in a followup.
Bug: 160322705
Bug: 175246617
Test: XTypeTest, KspTypeTest
Change-Id: Ibd241456e4f402e5bc2b9002511ff59b7fab08e2
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
ap...@google.com <ap...@google.com> #64
Project: platform/frameworks/support
Branch: androidx-main
commit 8da2dbe6038b895302f7b4d9777e4c91fd3188f8
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 13:14:28 2020
Fix getter/setter/field logic for abstract properties
This CL fixes a few issues in KspTypeElement:
* We would report fields for abstract properties, which we shouldn't.
* We would NOT report getters/setters for abstract properties, we should.
* We should NOT report getters/setters for JVMField annotated properties but
we were because KSP generates synthetic accessors for them.
Bug: 160322705
Test: KspTypeElementTest.fieldsInAbstractClass
Change-Id: I64e939544701e895f14d24a124c086e4b33139d6
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
https://android-review.googlesource.com/1531501
Branch: androidx-main
commit 8da2dbe6038b895302f7b4d9777e4c91fd3188f8
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 13:14:28 2020
Fix getter/setter/field logic for abstract properties
This CL fixes a few issues in KspTypeElement:
* We would report fields for abstract properties, which we shouldn't.
* We would NOT report getters/setters for abstract properties, we should.
* We should NOT report getters/setters for JVMField annotated properties but
we were because KSP generates synthetic accessors for them.
Bug: 160322705
Test: KspTypeElementTest.fieldsInAbstractClass
Change-Id: I64e939544701e895f14d24a124c086e4b33139d6
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeElementTest.kt
ap...@google.com <ap...@google.com> #65
Project: platform/frameworks/support
Branch: androidx-main
commit 4c631e7496d61cf33315e74d568fc561743bfe0a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 08:33:43 2020
Ignore nullability in XRawType
When comparing raw types, we do not care about nullability. This CL
changes KSP implementation to always ignore nullability in KspRawType.
Bug: 160322705
Test: XRawTypeTest
Change-Id: I2a5de1235a9f9a79d9b105d0d38e9026b53ef27c
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/XRawTypeTest.kt
https://android-review.googlesource.com/1530544
Branch: androidx-main
commit 4c631e7496d61cf33315e74d568fc561743bfe0a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 08:33:43 2020
Ignore nullability in XRawType
When comparing raw types, we do not care about nullability. This CL
changes KSP implementation to always ignore nullability in KspRawType.
Bug: 160322705
Test: XRawTypeTest
Change-Id: I2a5de1235a9f9a79d9b105d0d38e9026b53ef27c
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRawType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRawType.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/XRawTypeTest.kt
ap...@google.com <ap...@google.com> #66
Project: platform/frameworks/support
Branch: androidx-main
commit c183b8d5a13189786189e88a631f5c85316cfe26
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 16:02:06 2020
Run KspTypeTests with javac
This CL runs KspTypeTests w/ kapt to ensure they work the same.
This required 3 changes:
* KAPT replaces undefined types with `error.NonExistentClass` which
means the `isError` check on TypeMirror is not reliable. I've updated
Javac implementation to consider `error.NonExistentClass` as error as
well. (Enabling correctErrorTypes should've prevented it but it does not
seem to be happening in kotlin compile testing. I've not digged deeper
because we would like to detect this even when developer did not enable
correctErrorTypes option in kapt)
-> In KSP, we had a similar fallback class in Room package. I've renamed
it to use the same class as KAPT for consistency.
* When types are resolved, KSP resolves bounded type variables to their
extends bound instead of a non-type TypeMirror. Initially, we
simply implemented extendsBound to return null for all KSP types which was
inconsistent with Javac. This CL updates KspTypeArgumentType to implement
extends bound properly (basically return the ksType).
-> We no longer create KspTypeArgumentType for invariant types as they
iare declared.
-> If we receive a ksType whose declaration is a type parameter, we
create KspTypeArgumentType. This might happen after calling
asMemberOf.
* When resolving nullability from KmType (kotlin-metadata type class),
we read the nullability flag to make a decision, which is not enough to
cover cases like `T : Foo?`. Now, if the KmType has an extendsBound, we
also look at it.
Bug: 160322705
Test: KspTypeTest, also extended existing tests to check for bounds
Change-Id: Idc944519d0300804ea29cb88a0372978c1ffd072
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/KmTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/DefaultKspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TypeAssignmentTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
https://android-review.googlesource.com/1531502
Branch: androidx-main
commit c183b8d5a13189786189e88a631f5c85316cfe26
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Dec 15 16:02:06 2020
Run KspTypeTests with javac
This CL runs KspTypeTests w/ kapt to ensure they work the same.
This required 3 changes:
* KAPT replaces undefined types with `error.NonExistentClass` which
means the `isError` check on TypeMirror is not reliable. I've updated
Javac implementation to consider `error.NonExistentClass` as error as
well. (Enabling correctErrorTypes should've prevented it but it does not
seem to be happening in kotlin compile testing. I've not digged deeper
because we would like to detect this even when developer did not enable
correctErrorTypes option in kapt)
-> In KSP, we had a similar fallback class in Room package. I've renamed
it to use the same class as KAPT for consistency.
* When types are resolved, KSP resolves bounded type variables to their
extends bound instead of a non-type TypeMirror. Initially, we
simply implemented extendsBound to return null for all KSP types which was
inconsistent with Javac. This CL updates KspTypeArgumentType to implement
extends bound properly (basically return the ksType).
-> We no longer create KspTypeArgumentType for invariant types as they
iare declared.
-> If we receive a ksType whose declaration is a type parameter, we
create KspTypeArgumentType. This might happen after calling
asMemberOf.
* When resolving nullability from KmType (kotlin-metadata type class),
we read the nullability flag to make a decision, which is not enough to
cover cases like `T : Foo?`. Now, if the KmType has an extendsBound, we
also look at it.
Bug: 160322705
Test: KspTypeTest, also extended existing tests to check for bounds
Change-Id: Idc944519d0300804ea29cb88a0372978c1ffd072
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/KmTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/DefaultKspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeArgumentType.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TypeAssignmentTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
ap...@google.com <ap...@google.com> #67
Project: platform/frameworks/support
Branch: androidx-main
commit 42152580cbfbddbf01119ad75a19332182857363
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 16 21:17:31 2020
Add nullable versions of ColumnTypeAdapters for KSP
With javac, Room's type converters support nullable types (e.g.
java.lang.Boolean) using its boxed primtives.
This does not work well with KSP where we have proper type nullability
which is considered in type equality.
This CL adds nullable versions of boxed ColumnTypeAdapters.
It is limited to KSP and also still generates the same code for declared
types even when we know the type is not nullable. This decision can be
changed in the future to generate better code (we'll need to do that for
kotlin codegen).
I've limited these null aware adapters to KSP because in javac, type
comparison ignores nullability.
I've also fixed a possible bug in String and byte[] converters. Right
now, when reading values, they always call cursor getString/Blob which
happens to return null but appearantly it is not guarateed so now we
generate code that checks for null.
Bug: 160322705
Bug: 176104406
Test: BasicColumnTypeAdaptersTests are now run with KSP as well and also
test for nullable boxed types
Test: SQLTypeAffinityTest
Change-Id: Ib4e74f54fdb5ab83e58a8287c5324f434cb0fddd
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteArrayColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteBufferColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StringColumnTypeAdapter.kt
M room/compiler/src/test/data/daoWriter/output/ComplexDao.java
A room/compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/EntityCursorConverterWriterTest.kt
https://android-review.googlesource.com/1532510
Branch: androidx-main
commit 42152580cbfbddbf01119ad75a19332182857363
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 16 21:17:31 2020
Add nullable versions of ColumnTypeAdapters for KSP
With javac, Room's type converters support nullable types (e.g.
java.lang.Boolean) using its boxed primtives.
This does not work well with KSP where we have proper type nullability
which is considered in type equality.
This CL adds nullable versions of boxed ColumnTypeAdapters.
It is limited to KSP and also still generates the same code for declared
types even when we know the type is not nullable. This decision can be
changed in the future to generate better code (we'll need to do that for
kotlin codegen).
I've limited these null aware adapters to KSP because in javac, type
comparison ignores nullability.
I've also fixed a possible bug in String and byte[] converters. Right
now, when reading values, they always call cursor getString/Blob which
happens to return null but appearantly it is not guarateed so now we
generate code that checks for null.
Bug: 160322705
Bug: 176104406
Test: BasicColumnTypeAdaptersTests are now run with KSP as well and also
test for nullable boxed types
Test: SQLTypeAffinityTest
Change-Id: Ib4e74f54fdb5ab83e58a8287c5324f434cb0fddd
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteArrayColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/ByteBufferColumnTypeAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/StringColumnTypeAdapter.kt
M room/compiler/src/test/data/daoWriter/output/ComplexDao.java
A room/compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/BasicColumnTypeAdaptersTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/EntityCursorConverterWriterTest.kt
ap...@google.com <ap...@google.com> #68
Project: platform/frameworks/support
Branch: androidx-main
commit 39908b855705e9e0d5f93e29323d7d96ccfdb103
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Dec 18 21:54:23 2020
Handle primitives overriding generics in KSP
When a kotlin class specifies a non-nullable primitive type for a
super's generic argument, kotlin will duplicate methods that receive the
generic as an argument.
This CL changes the KSP override check to ignore those overrides so that
it also reports two methods. Note that this only happens for paremeters
and not return values. For return values, only the boxed one is generated.
To handle the return type boxing, we now use the overridden desclaration
when wrapping types, which lets us choose between primitive and
non-primitive by looking at the declaration.
Bug: 160258066
Bug: 160322705
Test: XExecutableElementTest
Change-Id: Id2fb76748ff014bcabe4543daed211d82d04bd4c
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
https://android-review.googlesource.com/1532282
Branch: androidx-main
commit 39908b855705e9e0d5f93e29323d7d96ccfdb103
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Dec 18 21:54:23 2020
Handle primitives overriding generics in KSP
When a kotlin class specifies a non-nullable primitive type for a
super's generic argument, kotlin will duplicate methods that receive the
generic as an argument.
This CL changes the KSP override check to ignore those overrides so that
it also reports two methods. Note that this only happens for paremeters
and not return values. For return values, only the boxed one is generated.
To handle the return type boxing, we now use the overridden desclaration
when wrapping types, which lets us choose between primitive and
non-primitive by looking at the declaration.
Bug: 160258066
Bug: 160322705
Test: XExecutableElementTest
Change-Id: Id2fb76748ff014bcabe4543daed211d82d04bd4c
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
ap...@google.com <ap...@google.com> #69
Project: platform/frameworks/support
Branch: androidx-main
commit ebbe82e4df364c230ac885c5a56da9d5fb7c191a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 10:12:56 2020
Move XType.is checks to extension methods
This CL moves XType.is checks for known types to extension methods and
uses the TypeName (thats what JavacType did).
Initially, they were put into the interface because I wasn't sure how
well the typeName will work in KSP. At this point, it is one of the more
reliable parts of the KSP implementation (e.g. we do very well in
deciding whether we want it to be a primitive or not).
By moving them to extension methods, KSP and Javac implementations get
closer and becomes more consistent.
While creating a test case (KSP impl used to fail to detect boxed Void),
I hit a bug in KSP. Added a workaround for now.
https://github.com/google/ksp/issues/200
Bug: 160322705
Test: XTypeTest & existing tests
Change-Id: I2ece2a9738faeef9a8530475f9f96330b35abaf3
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/ext/xtype_ext.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/KotlinDefaultMethodDelegateBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/result/PreparedQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/DeleteOrUpdateMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
https://android-review.googlesource.com/1532801
Branch: androidx-main
commit ebbe82e4df364c230ac885c5a56da9d5fb7c191a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 10:12:56 2020
Move XType.is checks to extension methods
This CL moves XType.is checks for known types to extension methods and
uses the TypeName (thats what JavacType did).
Initially, they were put into the interface because I wasn't sure how
well the typeName will work in KSP. At this point, it is one of the more
reliable parts of the KSP implementation (e.g. we do very well in
deciding whether we want it to be a primitive or not).
By moving them to extension methods, KSP and Javac implementations get
closer and becomes more consistent.
While creating a test case (KSP impl used to fail to detect boxed Void),
I hit a bug in KSP. Added a workaround for now.
Bug: 160322705
Test: XTypeTest & existing tests
Change-Id: I2ece2a9738faeef9a8530475f9f96330b35abaf3
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeTest.kt
M room/compiler/src/main/kotlin/androidx/room/ext/xtype_ext.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/KotlinDefaultMethodDelegateBinder.kt
M room/compiler/src/main/kotlin/androidx/room/solver/prepared/result/PreparedQueryResultAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/DeleteOrUpdateMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/solver/shortcut/result/InsertMethodAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RawQueryMethod.kt
M room/compiler/src/main/kotlin/androidx/room/writer/DaoWriter.kt
ap...@google.com <ap...@google.com> #70
Project: platform/frameworks/support
Branch: androidx-main
commit 02c3bf77db0ba29dfa25afd6889c6f5657c7cbe1
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 13:45:30 2020
Disable generated annotation in KSP
There is an existing bug in KSP where it returns classes that are not
available to the application, causing room to find j9 generated class
even when it doesn't exist.
This CL disables the generated annotation support in KSP for now until
the issue is resolved.
https://github.com/google/ksp/issues/198
Bug: 160322705
Test: disabled the related test
Change-Id: I4bf8f47f124a2288adb0b99e80648a4f5a9a533a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
https://android-review.googlesource.com/1534242
Branch: androidx-main
commit 02c3bf77db0ba29dfa25afd6889c6f5657c7cbe1
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 13:45:30 2020
Disable generated annotation in KSP
There is an existing bug in KSP where it returns classes that are not
available to the application, causing room to find j9 generated class
even when it doesn't exist.
This CL disables the generated annotation support in KSP for now until
the issue is resolved.
Bug: 160322705
Test: disabled the related test
Change-Id: I4bf8f47f124a2288adb0b99e80648a4f5a9a533a
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
ap...@google.com <ap...@google.com> #71
Project: platform/frameworks/support
Branch: androidx-main
commit 3b17119fe838e70863b4b1df5ba243fff497ada0
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 14:39:47 2020
Use immutable collection for KSP
In KSP, when a java type is resolved, it is resolved to its mutable
counterpart if available (e.g. java.util.List resolves to
kotlin.collections.MutableList). Unfortunately, this doesn't work well
when we want to just check for assignability for known types.
Specifically in this case, we want to know if a query parameter is a
collection or not and we don't care for mutability.
This CL updates Context to specify immutable collection qName if the
processor is KSP. We might want to map kotlin types to their immutable
variations but I'm not sure about that for now and that is also not what
kotlin does by default (well, immutable ones do not exist in javac
anyways so it is undefined territory).
To test, I've added a new test instead of updating query method
parameter test to run w/ KSP as it requires a major refactoring and
having a base KSP processor API.
Bug: 160322705
Test: TypeAdapterStoreTest.findQueryParameterAdapter_collections
Change-Id: I6de68d474dc24b38c662fed753bf6eb9af2ba101
M room/compiler/src/main/kotlin/androidx/room/processor/Context.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
https://android-review.googlesource.com/1533881
Branch: androidx-main
commit 3b17119fe838e70863b4b1df5ba243fff497ada0
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Dec 21 14:39:47 2020
Use immutable collection for KSP
In KSP, when a java type is resolved, it is resolved to its mutable
counterpart if available (e.g. java.util.List resolves to
kotlin.collections.MutableList). Unfortunately, this doesn't work well
when we want to just check for assignability for known types.
Specifically in this case, we want to know if a query parameter is a
collection or not and we don't care for mutability.
This CL updates Context to specify immutable collection qName if the
processor is KSP. We might want to map kotlin types to their immutable
variations but I'm not sure about that for now and that is also not what
kotlin does by default (well, immutable ones do not exist in javac
anyways so it is undefined territory).
To test, I've added a new test instead of updating query method
parameter test to run w/ KSP as it requires a major refactoring and
having a base KSP processor API.
Bug: 160322705
Test: TypeAdapterStoreTest.findQueryParameterAdapter_collections
Change-Id: I6de68d474dc24b38c662fed753bf6eb9af2ba101
M room/compiler/src/main/kotlin/androidx/room/processor/Context.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
ap...@google.com <ap...@google.com> #72
Project: platform/frameworks/support
Branch: androidx-main
commit f3cc288a52a81646f0f642aa550f11339e8ed42c
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 30 14:03:19 2020
Make sure there is only 1 instance of each type element
When traversing classes, we'll frequently wrap the same type
element in different cases (e.g. finding all methods of a type
element). Previously, we only cached results in findTypeElement
which meant we could wrap the same type element multiple times
if XProcessingEnv.wrap is called.
This CL updates the type element store to also accept the backing
type as key. When invoked, it will first get the qualified name
to query the cache before wrapping a new item.
Note that java does not allow conflicts on qualified names so
there is no uniqueness concerns (e.g. you cannot have foo.Bar.Baz
and foo.Bar class with Baz static inner class)
Bug: 160322705
Test: XProcessingEnvTest.typeElementsAreCached
Change-Id: Ic0fba8ea8ce80946afc642cd49ab48aa18a0e70b
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/XTypeElementStore.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
https://android-review.googlesource.com/1538205
Branch: androidx-main
commit f3cc288a52a81646f0f642aa550f11339e8ed42c
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 30 14:03:19 2020
Make sure there is only 1 instance of each type element
When traversing classes, we'll frequently wrap the same type
element in different cases (e.g. finding all methods of a type
element). Previously, we only cached results in findTypeElement
which meant we could wrap the same type element multiple times
if XProcessingEnv.wrap is called.
This CL updates the type element store to also accept the backing
type as key. When invoked, it will first get the qualified name
to query the cache before wrapping a new item.
Note that java does not allow conflicts on qualified names so
there is no uniqueness concerns (e.g. you cannot have foo.Bar.Baz
and foo.Bar class with Baz static inner class)
Bug: 160322705
Test: XProcessingEnvTest.typeElementsAreCached
Change-Id: Ic0fba8ea8ce80946afc642cd49ab48aa18a0e70b
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/XTypeElementStore.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
ap...@google.com <ap...@google.com> #73
Project: platform/frameworks/support
Branch: androidx-main
commit 58a6a37c4a84afb8d2cf352d36d7fe38967dd183
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 13:09:01 2021
Make KspExecutableParameterElement extend KspElement
Previously, KspElement required a declaration which is not available for
KSValueParameter. Since we moved KspElement to receive a KSAnnotated instead,
now value parameter can extend it which will help with finding the node while
reporting errors.
Bug: 160322705
Test: existing tests
Change-Id: I2665dab894d729eb9688b934f440612d18e13e65
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
https://android-review.googlesource.com/1540349
Branch: androidx-main
commit 58a6a37c4a84afb8d2cf352d36d7fe38967dd183
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 13:09:01 2021
Make KspExecutableParameterElement extend KspElement
Previously, KspElement required a declaration which is not available for
KSValueParameter. Since we moved KspElement to receive a KSAnnotated instead,
now value parameter can extend it which will help with finding the node while
reporting errors.
Bug: 160322705
Test: existing tests
Change-Id: I2665dab894d729eb9688b934f440612d18e13e65
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
ap...@google.com <ap...@google.com> #74
Project: platform/frameworks/support
Branch: androidx-main
commit 23758df3ade668ae5c369c7ec574d10fb24b7fc1
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 16 18:47:29 2020
Add Room KSP processor
This CL adds the symbol processing marker for Room such that KSP can
discover and run it.
Due to limitations of AndroidX plugin and KSP plugin, I cannot yet
enable KSP path in kotlin-test-app. Instead, I've added a new property
(useKsp) to use ksp instead of kapt in kotlin-test-app for local
debugging.
Right now, it passes all kotlin-testapp connected tests.
There is an existing problem in KSP where it might return some
FAKE_OVERRIDE methods which cause problems when calling asMemberOf on
them. I've added a reflective `isFake` check to filter out those
methods. Next version of KSP will not have that issue.
I've also added a simple script that clean compiles with both ksp and
kapt and compares times. It is not very accurate at this point but
total time spent in ksp tasks is ~50% less than kapt tasks :).
Bug: 160322705
Test: ./gradlew room:integration-tests:room-testapp-kotlin:assembleAndroidTest -PuseKsp=1
Change-Id: I06cf262d220377b4a648b60c6908d4fb6bff61b0
M buildSrc/build.gradle
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M playground-common/playground-build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingStep.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler/build.gradle
A room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
A room/compiler/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessor
M room/integration-tests/kotlintestapp/build.gradle
A room/ksp-kapt-comparison.sh
https://android-review.googlesource.com/1531924
Branch: androidx-main
commit 23758df3ade668ae5c369c7ec574d10fb24b7fc1
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Dec 16 18:47:29 2020
Add Room KSP processor
This CL adds the symbol processing marker for Room such that KSP can
discover and run it.
Due to limitations of AndroidX plugin and KSP plugin, I cannot yet
enable KSP path in kotlin-test-app. Instead, I've added a new property
(useKsp) to use ksp instead of kapt in kotlin-test-app for local
debugging.
Right now, it passes all kotlin-testapp connected tests.
There is an existing problem in KSP where it might return some
FAKE_OVERRIDE methods which cause problems when calling asMemberOf on
them. I've added a reflective `isFake` check to filter out those
methods. Next version of KSP will not have that issue.
I've also added a simple script that clean compiles with both ksp and
kapt and compares times. It is not very accurate at this point but
total time spent in ksp tasks is ~50% less than kapt tasks :).
Bug: 160322705
Test: ./gradlew room:integration-tests:room-testapp-kotlin:assembleAndroidTest -PuseKsp=1
Change-Id: I06cf262d220377b4a648b60c6908d4fb6bff61b0
M buildSrc/build.gradle
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M playground-common/playground-build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingStep.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler/build.gradle
A room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
A room/compiler/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessor
M room/integration-tests/kotlintestapp/build.gradle
A room/ksp-kapt-comparison.sh
ap...@google.com <ap...@google.com> #75
Project: platform/frameworks/support
Branch: androidx-main
commit 8af3a3a3db0b20fdcb36b3cb33ad05ded14c42f8
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 16:17:49 2021
Add static modifier to nested kotlin classes
Nested classes in kotlin are static by default.
This CL updates KspHasModifiers to add the static
modifier when it is a nested kotlin class without the
inner modifier.
A possible alternative solution is to add `isInner` to XTypeElement
because Room is using isStatic as a proxy to discover inner classes.
I've not implemented that because removing isStatic is not very feasible
from XHasModifiers but we can do a followup CL to divide XHasModifiers
and remove isStatic from there.
Right now, KSP does not report INNER modifier for .class files which is
why I couldn't add a test with compiled code.
https://github.com/google/ksp/pull/232
I've also renamed KspTypeElementTest to XTypeElementTest since
it runs all but 1 test w/ both processors.
Bug: 160322705
Test: XTypeElementTest
Change-Id: Ie07382a8744b26eda3b4454d45ea74bfae71fd70
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
https://android-review.googlesource.com/1539634
Branch: androidx-main
commit 8af3a3a3db0b20fdcb36b3cb33ad05ded14c42f8
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 16:17:49 2021
Add static modifier to nested kotlin classes
Nested classes in kotlin are static by default.
This CL updates KspHasModifiers to add the static
modifier when it is a nested kotlin class without the
inner modifier.
A possible alternative solution is to add `isInner` to XTypeElement
because Room is using isStatic as a proxy to discover inner classes.
I've not implemented that because removing isStatic is not very feasible
from XHasModifiers but we can do a followup CL to divide XHasModifiers
and remove isStatic from there.
Right now, KSP does not report INNER modifier for .class files which is
why I couldn't add a test with compiled code.
I've also renamed KspTypeElementTest to XTypeElementTest since
it runs all but 1 test w/ both processors.
Bug: 160322705
Test: XTypeElementTest
Change-Id: Ie07382a8744b26eda3b4454d45ea74bfae71fd70
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
ap...@google.com <ap...@google.com> #76
Project: platform/frameworks/support
Branch: androidx-main
commit e16d1bbbe0ce72e618a84da041bd97f396cd535a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 14:54:45 2021
Create XEnumTypeElement for enum declarations
Enum classes are slightly different than other classes where they have
inner classes/properties that are actually enum constants.
Moreoever, KSP returns those constants as class declarations whereas
java AP returns them as fields.
To avoid possibly confusions, this CL adds a new XEnumTypeElement with a
field to receive enum constant names.
Subsequently, java implementation of XTypeElement was returning enum
constants as if they are fields, I've removed them from that list as
well.
As part of this change, I've removed XType.isEnum and instead added
XTypeElement.isEnum which can also do the auto cast to XEnumTypeElement.
Also refactored EnumColumnTypeAdapter to use the new APIs.
Note that there is an existing bug in KSP where it does not report enum
constants properly from java sources so for now, I've excluded that case
from tests:https://github.com/google/ksp/issues/234
I've copied the EnumColumnTypeAdapterTest to also run in room kotlin
test app so that we can ensure KSP is working propery (it was failing).
Bug: 160322705
Bug: 173236324
Test: XTypeElementTest, EnumColumnTypeAdapterTest.kt
Change-Id: Ie6d74cc5ccd93ed6be2687cdb382baf9dee16a0f
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XEnumTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/ElementExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/EnumColumnTypeAdapter.kt
A room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/EnumColumnTypeAdapterTest.kt
https://android-review.googlesource.com/1540359
Branch: androidx-main
commit e16d1bbbe0ce72e618a84da041bd97f396cd535a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Jan 05 14:54:45 2021
Create XEnumTypeElement for enum declarations
Enum classes are slightly different than other classes where they have
inner classes/properties that are actually enum constants.
Moreoever, KSP returns those constants as class declarations whereas
java AP returns them as fields.
To avoid possibly confusions, this CL adds a new XEnumTypeElement with a
field to receive enum constant names.
Subsequently, java implementation of XTypeElement was returning enum
constants as if they are fields, I've removed them from that list as
well.
As part of this change, I've removed XType.isEnum and instead added
XTypeElement.isEnum which can also do the auto cast to XEnumTypeElement.
Also refactored EnumColumnTypeAdapter to use the new APIs.
Note that there is an existing bug in KSP where it does not report enum
constants properly from java sources so for now, I've excluded that case
from tests:
I've copied the EnumColumnTypeAdapterTest to also run in room kotlin
test app so that we can ensure KSP is working propery (it was failing).
Bug: 160322705
Bug: 173236324
Test: XTypeElementTest, EnumColumnTypeAdapterTest.kt
Change-Id: Ie6d74cc5ccd93ed6be2687cdb382baf9dee16a0f
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XEnumTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/ElementExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/types/EnumColumnTypeAdapter.kt
A room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/EnumColumnTypeAdapterTest.kt
ap...@google.com <ap...@google.com> #77
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit 97f5c0cce875b49e33659a2ba05099897f892fb4
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jan 11 22:52:10 2021
ksp 20210111 prebuilts
Bug: 160322705
Test: existing tests
Change-Id: Ibe6d452ebe16801851584569c2231d20b7a918ee
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.sha1
A com/squareup/okio/okio-metadata/2.9.0/LICENSE
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom.sha1
A com/squareup/okio/okio/2.9.0/LICENSE
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom.sha1
A io/github/classgraph/classgraph/4.8.97/LICENSE
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar.sha1
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar.sha1
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom.sha1
M org/jetbrains/intellij/deps/trove4j/1.0.20181211/LICENSE
https://android-review.googlesource.com/1544665
Branch: androidx-main
commit 97f5c0cce875b49e33659a2ba05099897f892fb4
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jan 11 22:52:10 2021
ksp 20210111 prebuilts
Bug: 160322705
Test: existing tests
Change-Id: Ibe6d452ebe16801851584569c2231d20b7a918ee
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.3.4/kotlin-compile-testing-ksp-1.3.4.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.3.4/kotlin-compile-testing-1.3.4.pom.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.sha1
A com/squareup/okio/okio-metadata/2.9.0/LICENSE
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0-sources.jar.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.jar.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.module.sha1
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom.md5
A com/squareup/okio/okio-metadata/2.9.0/okio-metadata-2.9.0.pom.sha1
A com/squareup/okio/okio/2.9.0/LICENSE
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0-sources.jar.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.jar.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.module.sha1
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom.md5
A com/squareup/okio/okio/2.9.0/okio-2.9.0.pom.sha1
A io/github/classgraph/classgraph/4.8.97/LICENSE
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97-sources.jar.sha1
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.jar.sha1
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom.md5
A io/github/classgraph/classgraph/4.8.97/classgraph-4.8.97.pom.sha1
M org/jetbrains/intellij/deps/trove4j/1.0.20181211/LICENSE
ap...@google.com <ap...@google.com> #78
Project: platform/frameworks/support
Branch: androidx-main
commit 1d5ffb6ebdedf9c54eac1fbf3f7ddc37ed18ade3
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 08 11:47:10 2021
Update KSP to 20210111
This CL updates KSP to 20210111.
* Removed the fake checker impl since we don't need that anymore. KSP
skips fakes now.
* Re-enabled tests for java enums since that issue is fixed.
* Removed safeGetJvmName for properties because #200 is fixed.
Unfortunately, there is another bug for methods so we are still using
safeGet for them.
https://github.com/google/ksp/issues/240
* Removed workaround in findOverridee but unfortunately, now we hit
another bug there:https://github.com/google/ksp/issues/248
Bug: 160322705
Test: existing tests
Change-Id: Iddabe0a828821a13a20b8b23c7f9ad340893429b
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/integration-tests/kotlintestapp/build.gradle
https://android-review.googlesource.com/1543326
Branch: androidx-main
commit 1d5ffb6ebdedf9c54eac1fbf3f7ddc37ed18ade3
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 08 11:47:10 2021
Update KSP to 20210111
This CL updates KSP to 20210111.
* Removed the fake checker impl since we don't need that anymore. KSP
skips fakes now.
* Re-enabled tests for java enums since that issue is fixed.
* Removed safeGetJvmName for properties because #200 is fixed.
Unfortunately, there is another bug for methods so we are still using
safeGet for them.
* Removed workaround in findOverridee but unfortunately, now we hit
another bug there:
Bug: 160322705
Test: existing tests
Change-Id: Iddabe0a828821a13a20b8b23c7f9ad340893429b
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFiler.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeTest.kt
M room/integration-tests/kotlintestapp/build.gradle
ap...@google.com <ap...@google.com> #79
Project: platform/frameworks/support
Branch: androidx-main
commit 604b2d56b7632448022c57ea4702271aa6c8e6c5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Jan 13 16:26:26 2021
Handle @Transient annotation in KSP
Similar to @JvmStatic, @Transient is an annotation in Kotlin. This CL
updates KspHasModifiers to check the annotation when reporting
transient.
Bug: 160322705
Test: XElementTest
Change-Id: Ic01caff24f062275bf40cad242540b2bc7fd386e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
https://android-review.googlesource.com/1549109
Branch: androidx-main
commit 604b2d56b7632448022c57ea4702271aa6c8e6c5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Jan 13 16:26:26 2021
Handle @Transient annotation in KSP
Similar to @JvmStatic, @Transient is an annotation in Kotlin. This CL
updates KspHasModifiers to check the annotation when reporting
transient.
Bug: 160322705
Test: XElementTest
Change-Id: Ic01caff24f062275bf40cad242540b2bc7fd386e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
ap...@google.com <ap...@google.com> #80
Project: platform/frameworks/support
Branch: androidx-main
commit ce08e26c0c39130c80336baa26cb25367794d28b
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jan 25 16:59:21 2021
Add infra for testing generated code
This CL adds basic support for testing generated code. It is not as clever
as in java compile testing, specifically, it does not do structural diffing.
Instead, we simply compare trimmed lines while skipping empty lines.
It is not great but Room rarely does this kind of testing so it is good
enough for now.
I've also added an XRoundEnv for KSP and change its
getElementsAnnotatedWith API to return type elements. It is only used in
tests in Room and we don't need other elements. I'll try to remove root
elements as well as there are some tests using it w/o needing it.
Bug: 160322705
Test: GeneratedCodeMatchTest
Change-Id: Ie550a6edc73a4a9b8e08933f8a32481244146422
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/SourceFileAssertions.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/GeneratedCodeMatchTest.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XRoundEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRoundEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRoundEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/JavacTestProcessorTest.kt
D room/compiler/src/test/kotlin/androidx/room/ext/XRoundEnvExt.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
https://android-review.googlesource.com/1549553
Branch: androidx-main
commit ce08e26c0c39130c80336baa26cb25367794d28b
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Jan 25 16:59:21 2021
Add infra for testing generated code
This CL adds basic support for testing generated code. It is not as clever
as in java compile testing, specifically, it does not do structural diffing.
Instead, we simply compare trimmed lines while skipping empty lines.
It is not great but Room rarely does this kind of testing so it is good
enough for now.
I've also added an XRoundEnv for KSP and change its
getElementsAnnotatedWith API to return type elements. It is only used in
tests in Room and we don't need other elements. I'll try to remove root
elements as well as there are some tests using it w/o needing it.
Bug: 160322705
Test: GeneratedCodeMatchTest
Change-Id: Ie550a6edc73a4a9b8e08933f8a32481244146422
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/SourceFileAssertions.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/GeneratedCodeMatchTest.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XRoundEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacRoundEnv.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspRoundEnv.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/JavacTestProcessorTest.kt
D room/compiler/src/test/kotlin/androidx/room/ext/XRoundEnvExt.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
ap...@google.com <ap...@google.com> #81
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit 898eb5c5842a228fecdda2444f38b47f84c6bc3a
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Feb 05 11:11:24 2021
prebuilts for KSP 1.4.30-dev-experimental-20210205
also removed older prebuilts.
Bug: 160322705
Test: existing tests
Change-Id: I75db0389f22b1cf09c100c5bcd2607c83e3a5193
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom.sha1
https://android-review.googlesource.com/1577845
Branch: androidx-main
commit 898eb5c5842a228fecdda2444f38b47f84c6bc3a
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Feb 05 11:11:24 2021
prebuilts for KSP 1.4.30-dev-experimental-20210205
also removed older prebuilts.
Bug: 160322705
Test: existing tests
Change-Id: I75db0389f22b1cf09c100c5bcd2607c83e3a5193
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201009/symbol-processing-api-1.4.10-dev-experimental-20201009.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201110/symbol-processing-api-1.4.10-dev-experimental-20201110.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.10-dev-experimental-20201120/symbol-processing-api-1.4.10-dev-experimental-20201120.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20201204/symbol-processing-api-1.4.20-dev-experimental-20201204.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.20-dev-experimental-20210111/symbol-processing-api-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-dev-experimental-20210205/symbol-processing-api-1.4.30-dev-experimental-20210205.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.20-dev-experimental-20210111/symbol-processing-gradle-plugin-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-dev-experimental-20210205/symbol-processing-gradle-plugin-1.4.30-dev-experimental-20210205.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201009/symbol-processing-1.4.10-dev-experimental-20201009.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201110/symbol-processing-1.4.10-dev-experimental-20201110.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.10-dev-experimental-20201120/symbol-processing-1.4.10-dev-experimental-20201120.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20201204/symbol-processing-1.4.20-dev-experimental-20201204.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/LICENSE
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.20-dev-experimental-20210111/symbol-processing-1.4.20-dev-experimental-20210111.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/LICENSE
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-dev-experimental-20210205/symbol-processing-1.4.30-dev-experimental-20210205.pom.sha1
ap...@google.com <ap...@google.com> #82
Project: platform/frameworks/support
Branch: androidx-main
commit 8d0b0d22d2890a3986c881de927df4cf433076a0
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 29 17:02:07 2021
Update KSP to 1.4.30-dev-experimental-20210205
* Removed workarounds in KspTypeElement about detecting constructors
since KSP now has an API to get check if a function is a constructor
* Removed the workaround forhttps://github.com/google/ksp/issues/175
which seems to be working now. Instead, now we revert some override
calls if its jvm signatures won't match.
* Updated ksp integration test (room kotlin test app) to use the new
kspAndroidTest conffiguration.
* Removed the workaround forhttps://github.com/google/ksp/issues/173
* Re-enabled @Generated annotation for KSP:
https://github.com/google/ksp/issues/198
* Removed the log forhttps://github.com/android/kotlin/issues/133
We'll still use custom logic because calling KSP will invoke the
descriptor APIs and current implementation is working fine.
* Fallback location test now also checks the KSP constructor case
https://github.com/google/ksp/issues/273
Bug: 160322705
Test: existing tests
Change-Id: I1aef81b0c7475a86d40d38456e765a469ca79de6
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticConstructorForJava.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/FallbackLocationInformationTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
M room/integration-tests/kotlintestapp/build.gradle
https://android-review.googlesource.com/1564504
Branch: androidx-main
commit 8d0b0d22d2890a3986c881de927df4cf433076a0
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 29 17:02:07 2021
Update KSP to 1.4.30-dev-experimental-20210205
* Removed workarounds in KspTypeElement about detecting constructors
since KSP now has an API to get check if a function is a constructor
* Removed the workaround for
which seems to be working now. Instead, now we revert some override
calls if its jvm signatures won't match.
* Updated ksp integration test (room kotlin test app) to use the new
kspAndroidTest conffiguration.
* Removed the workaround for
* Re-enabled @Generated annotation for KSP:
* Removed the log for
We'll still use custom logic because calling KSP will invoke the
descriptor APIs and current implementation is working fine.
* Fallback location test now also checks the KSP constructor case
Bug: 160322705
Test: existing tests
Change-Id: I1aef81b0c7475a86d40d38456e765a469ca79de6
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
D room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticConstructorForJava.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/FallbackLocationInformationTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
M room/integration-tests/kotlintestapp/build.gradle
ap...@google.com <ap...@google.com> #83
Project: platform/frameworks/support
Branch: androidx-main
commit 0263bbaa0a4718f9f78538bfd73894a05486c624
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 08:46:07 2021
Run DaoWriter tests w/ KSP
I had to change the WriterDao expected output to not include copyright
because XTest code equality is not clever enough to do structural
comparison.
Also, some methods in test_utils that work with TestInvocation are
duplicated to also work with XTestInvocation. Eventually, once all tests
move, we'll be able to remove all JavaFileObject access in the codebase.
Bug: 160322705
Test: DaoWriterTest
Change-Id: Ica1bbf265768b9bd93165602b89db54496b186fb
M room/compiler/src/test/data/daoWriter/output/WriterDao.java
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
https://android-review.googlesource.com/1579732
Branch: androidx-main
commit 0263bbaa0a4718f9f78538bfd73894a05486c624
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 08:46:07 2021
Run DaoWriter tests w/ KSP
I had to change the WriterDao expected output to not include copyright
because XTest code equality is not clever enough to do structural
comparison.
Also, some methods in test_utils that work with TestInvocation are
duplicated to also work with XTestInvocation. Eventually, once all tests
move, we'll be able to remove all JavaFileObject access in the codebase.
Bug: 160322705
Test: DaoWriterTest
Change-Id: Ica1bbf265768b9bd93165602b89db54496b186fb
M room/compiler/src/test/data/daoWriter/output/WriterDao.java
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
ap...@google.com <ap...@google.com> #84
Project: platform/frameworks/support
Branch: androidx-main
commit 48f734a99aa4adc5364f5d4b7827c688e1637d83
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 09:24:07 2021
Run DatabaseWriter tests with KSP
Bug: 160322705
Test: DatabaseWriterTest
Change-Id: Ied906e2d7d5b660dbe82975d8ac9ce13b8c4a71a
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
M room/compiler/src/main/kotlin/androidx/room/RoomProcessor.kt
A room/compiler/src/test/kotlin/androidx/room/testing/XProcessingStepExt.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DatabaseWriterTest.kt
https://android-review.googlesource.com/1580658
Branch: androidx-main
commit 48f734a99aa4adc5364f5d4b7827c688e1637d83
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 09:24:07 2021
Run DatabaseWriter tests with KSP
Bug: 160322705
Test: DatabaseWriterTest
Change-Id: Ied906e2d7d5b660dbe82975d8ac9ce13b8c4a71a
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/Source.kt
M room/compiler/src/main/kotlin/androidx/room/RoomProcessor.kt
A room/compiler/src/test/kotlin/androidx/room/testing/XProcessingStepExt.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DatabaseWriterTest.kt
ap...@google.com <ap...@google.com> #85
Project: platform/frameworks/support
Branch: androidx-main
commit 5b9fea182c8e8283e5e60d2292fdf686da32b86c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 09 17:21:18 2021
Update Room's KSP dep to alpha02
This CL updates Room's KSP dependency to the first KSP alpha release and
also sets room version to beta02.
Bug: 160322705
Test: existing tests
Relnote: "Room now has experimental support for Kotlin Symbol
Processing (KSP)http://github.com/google/ksp .
KSP is a replacement for KAPT to run annotation processors natively on
the Kotlin compiler, significantly reducing build times (unless you have
other annotation processors in the same module that do not yet support
KSP).
To use Room with KSP, you can apply the ksp plugin
and replace `kapt` configuration in your build file with `ksp`.
e.g. instead of `kapt 'androidx.room:room-compiler:2.3.0-beta02'` use
`ksp 'androidx.room:room-compiler:2.3.0-beta02'`. See KSP documentation
for details:https://github.com/google/ksp/blob/master/docs/quickstart.md
Note that,since KSP is experimental, it is recommended to still use KAPT
for production code.
Seehttps://issuetracker.google.com/issues/160322705 for known issues."
Change-Id: I68882f537e3e250fe2a1b6b61826167cbb2e02e3
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
A room/common/api/2.3.0-beta02.txt
A room/common/api/public_plus_experimental_2.3.0-beta02.txt
A room/common/api/restricted_2.3.0-beta02.txt
A room/guava/api/2.3.0-beta02.txt
A room/guava/api/public_plus_experimental_2.3.0-beta02.txt
A room/guava/api/res-2.3.0-beta02.txt
A room/guava/api/restricted_2.3.0-beta02.txt
A room/ktx/api/2.3.0-beta02.txt
A room/ktx/api/public_plus_experimental_2.3.0-beta02.txt
A room/ktx/api/res-2.3.0-beta02.txt
A room/ktx/api/restricted_2.3.0-beta02.txt
A room/migration/api/2.3.0-beta02.txt
A room/migration/api/public_plus_experimental_2.3.0-beta02.txt
A room/migration/api/restricted_2.3.0-beta02.txt
A room/runtime/api/2.3.0-beta02.txt
A room/runtime/api/public_plus_experimental_2.3.0-beta02.txt
A room/runtime/api/res-2.3.0-beta02.txt
A room/runtime/api/restricted_2.3.0-beta02.txt
A room/rxjava2/api/2.3.0-beta02.txt
A room/rxjava2/api/public_plus_experimental_2.3.0-beta02.txt
A room/rxjava2/api/res-2.3.0-beta02.txt
A room/rxjava2/api/restricted_2.3.0-beta02.txt
A room/rxjava3/api/2.3.0-beta02.txt
A room/rxjava3/api/public_plus_experimental_2.3.0-beta02.txt
A room/rxjava3/api/res-2.3.0-beta02.txt
A room/rxjava3/api/restricted_2.3.0-beta02.txt
A room/testing/api/2.3.0-beta02.txt
A room/testing/api/public_plus_experimental_2.3.0-beta02.txt
A room/testing/api/res-2.3.0-beta02.txt
A room/testing/api/restricted_2.3.0-beta02.txt
https://android-review.googlesource.com/1582723
Branch: androidx-main
commit 5b9fea182c8e8283e5e60d2292fdf686da32b86c
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 09 17:21:18 2021
Update Room's KSP dep to alpha02
This CL updates Room's KSP dependency to the first KSP alpha release and
also sets room version to beta02.
Bug: 160322705
Test: existing tests
Relnote: "Room now has experimental support for Kotlin Symbol
Processing (KSP)
KSP is a replacement for KAPT to run annotation processors natively on
the Kotlin compiler, significantly reducing build times (unless you have
other annotation processors in the same module that do not yet support
KSP).
To use Room with KSP, you can apply the ksp plugin
and replace `kapt` configuration in your build file with `ksp`.
e.g. instead of `kapt 'androidx.room:room-compiler:2.3.0-beta02'` use
`ksp 'androidx.room:room-compiler:2.3.0-beta02'`. See KSP documentation
for details:
Note that,since KSP is experimental, it is recommended to still use KAPT
for production code.
See
Change-Id: I68882f537e3e250fe2a1b6b61826167cbb2e02e3
M buildSrc/build_dependencies.gradle
M buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
A room/common/api/2.3.0-beta02.txt
A room/common/api/public_plus_experimental_2.3.0-beta02.txt
A room/common/api/restricted_2.3.0-beta02.txt
A room/guava/api/2.3.0-beta02.txt
A room/guava/api/public_plus_experimental_2.3.0-beta02.txt
A room/guava/api/res-2.3.0-beta02.txt
A room/guava/api/restricted_2.3.0-beta02.txt
A room/ktx/api/2.3.0-beta02.txt
A room/ktx/api/public_plus_experimental_2.3.0-beta02.txt
A room/ktx/api/res-2.3.0-beta02.txt
A room/ktx/api/restricted_2.3.0-beta02.txt
A room/migration/api/2.3.0-beta02.txt
A room/migration/api/public_plus_experimental_2.3.0-beta02.txt
A room/migration/api/restricted_2.3.0-beta02.txt
A room/runtime/api/2.3.0-beta02.txt
A room/runtime/api/public_plus_experimental_2.3.0-beta02.txt
A room/runtime/api/res-2.3.0-beta02.txt
A room/runtime/api/restricted_2.3.0-beta02.txt
A room/rxjava2/api/2.3.0-beta02.txt
A room/rxjava2/api/public_plus_experimental_2.3.0-beta02.txt
A room/rxjava2/api/res-2.3.0-beta02.txt
A room/rxjava2/api/restricted_2.3.0-beta02.txt
A room/rxjava3/api/2.3.0-beta02.txt
A room/rxjava3/api/public_plus_experimental_2.3.0-beta02.txt
A room/rxjava3/api/res-2.3.0-beta02.txt
A room/rxjava3/api/restricted_2.3.0-beta02.txt
A room/testing/api/2.3.0-beta02.txt
A room/testing/api/public_plus_experimental_2.3.0-beta02.txt
A room/testing/api/res-2.3.0-beta02.txt
A room/testing/api/restricted_2.3.0-beta02.txt
ap...@google.com <ap...@google.com> #86
Project: platform/frameworks/support
Branch: androidx-main
commit 2092ca7950fe18e420edb7407b66cca19b8ebd17
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 09 17:08:50 2021
Add support for testing multi round processors
This CL adds new APIs to run multi-round processors.
Most compilation tests need to run 1 round hence, by default, we invoke
the callback once. If a test wants another round, it needs to register
another callback, which is very similar to an existing api we have in
TestProcessor.nextRunHandler.
Also added utility methods to assert partial diagnostic messages.
Bug: 160322705
Test: MultiRoundProcessingTest, TestRunnerTest
Change-Id: Ic3fbef82d88be7beaa88bd1dff8bf4516c62fd27
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/GeneratedCodeMatchTest.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/MultiBackendTest.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/MultiRoundProcessingTest.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
https://android-review.googlesource.com/1582315
Branch: androidx-main
commit 2092ca7950fe18e420edb7407b66cca19b8ebd17
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 09 17:08:50 2021
Add support for testing multi round processors
This CL adds new APIs to run multi-round processors.
Most compilation tests need to run 1 round hence, by default, we invoke
the callback once. If a test wants another round, it needs to register
another callback, which is very similar to an existing api we have in
TestProcessor.nextRunHandler.
Also added utility methods to assert partial diagnostic messages.
Bug: 160322705
Test: MultiRoundProcessingTest, TestRunnerTest
Change-Id: Ic3fbef82d88be7beaa88bd1dff8bf4516c62fd27
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/GeneratedCodeMatchTest.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/MultiBackendTest.kt
A room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/MultiRoundProcessingTest.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
ap...@google.com <ap...@google.com> #87
Project: platform/frameworks/support
Branch: androidx-main
commit 524475fed5057f2d3be3cdb636e13b10e1244fe2
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 09:49:34 2021
Run EntityParser tests with KSP
This CL moves EntitiyParser tests to also run with KSP. It revealed a
bug where we were not returning the proper qualified name for nested
java classes (see XTypeElementTest).
I also needed to make one testing infra change. JavaCompileTesting uses
the output of the compiler to check for diagnostics while the testing
wrapper uses the diagnostics messages reported directly in Room (we
don't have specific access to errors/warnings etc in kotlin compilation
tests). As a result, tests cannot assert messages where we change the
message to account for code coming from .class files.
To allow those tests, I've added a `hasRawOutputMatching` method where
the full output can be asserted on. Since KSP compilation happens in two
steps, I've also changed that code to always use the same output stream
to collect raw output.
Room Changes:
* Updated the "foreign key error message" and "dropped super class index
message" to use typeElement.qualifiedName instead of typeElement.toString().
Bug: 160322705
Test: XTypeElementTest, EntitiyNameMatchingVariationsTest,
TableEntitiyProcessorTest, EntitiyCursorConverterWriterTest
Change-Id: I76bc473e01e443efab6c3618293db691087d7b3a
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityNameMatchingVariationsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/EntityCursorConverterWriterTest.kt
https://android-review.googlesource.com/1579018
Branch: androidx-main
commit 524475fed5057f2d3be3cdb636e13b10e1244fe2
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Feb 08 09:49:34 2021
Run EntityParser tests with KSP
This CL moves EntitiyParser tests to also run with KSP. It revealed a
bug where we were not returning the proper qualified name for nested
java classes (see XTypeElementTest).
I also needed to make one testing infra change. JavaCompileTesting uses
the output of the compiler to check for diagnostics while the testing
wrapper uses the diagnostics messages reported directly in Room (we
don't have specific access to errors/warnings etc in kotlin compilation
tests). As a result, tests cannot assert messages where we change the
message to account for code coming from .class files.
To allow those tests, I've added a `hasRawOutputMatching` method where
the full output can be asserted on. Since KSP compilation happens in two
steps, I've also changed that code to always use the same output stream
to collect raw output.
Room Changes:
* Updated the "foreign key error message" and "dropped super class index
message" to use typeElement.qualifiedName instead of typeElement.toString().
Bug: 160322705
Test: XTypeElementTest, EntitiyNameMatchingVariationsTest,
TableEntitiyProcessorTest, EntitiyCursorConverterWriterTest
Change-Id: I76bc473e01e443efab6c3618293db691087d7b3a
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityNameMatchingVariationsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/EntityCursorConverterWriterTest.kt
ap...@google.com <ap...@google.com> #88
Project: platform/frameworks/support
Branch: androidx-main
commit bb109b3355a45c6ee8897bca5281301fd58d7860
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 16 14:26:02 2021
Kotlin Compile Testing optimizations
This CL implements two optimizations for KCT.
a) Right now, it resolves the host classpath for each run, taking 50-60
ms for each compilation (and we run ~3 of them per test). I've added
caching for common jars that it resolves from host classpath so that it
does not need to resolve it for each test.
b) When we inherit classpath (which we always do), the size of the
classpath seems to have a signficant impact on kotlin compilation time.
Instead, this CL picks a filtered view from the whole host classpath.
(see linked issue for measurements).
After these changes, TableEntityProcessorTest (which runs ~400
compilations) takes ~4:30 min instead of ~8 min on my machine.
https://github.com/tschuchortdev/kotlin-compile-testing/issues/113
Bug: 160322705
Test: existing test.
Change-Id: I8a738c76879d44a31bb22b050466a2dc49ef45e1
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
https://android-review.googlesource.com/1590891
Branch: androidx-main
commit bb109b3355a45c6ee8897bca5281301fd58d7860
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Feb 16 14:26:02 2021
Kotlin Compile Testing optimizations
This CL implements two optimizations for KCT.
a) Right now, it resolves the host classpath for each run, taking 50-60
ms for each compilation (and we run ~3 of them per test). I've added
caching for common jars that it resolves from host classpath so that it
does not need to resolve it for each test.
b) When we inherit classpath (which we always do), the size of the
classpath seems to have a signficant impact on kotlin compilation time.
Instead, this CL picks a filtered view from the whole host classpath.
(see linked issue for measurements).
After these changes, TableEntityProcessorTest (which runs ~400
compilations) takes ~4:30 min instead of ~8 min on my machine.
Bug: 160322705
Test: existing test.
Change-Id: I8a738c76879d44a31bb22b050466a2dc49ef45e1
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
ap...@google.com <ap...@google.com> #89
Project: platform/frameworks/support
Branch: androidx-main
commit 2b230e1e794a60d325b60fa5e14c2253d3ec2519
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 08:22:13 2021
run SQLiteOpenHelperWriterTest with ksp
Bug: 160322705
Test: SQLiteOpenHelperWriterTest
Change-Id: I0b9c483f81904cb961aaf7d550af2b7cbc34d5d3
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
https://android-review.googlesource.com/1592195
Branch: androidx-main
commit 2b230e1e794a60d325b60fa5e14c2253d3ec2519
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 08:22:13 2021
run SQLiteOpenHelperWriterTest with ksp
Bug: 160322705
Test: SQLiteOpenHelperWriterTest
Change-Id: I0b9c483f81904cb961aaf7d550af2b7cbc34d5d3
M room/compiler/src/test/kotlin/androidx/room/writer/SQLiteOpenHelperWriterTest.kt
ap...@google.com <ap...@google.com> #90
Project: platform/frameworks/support
Branch: androidx-main
commit aa9411dfb6b68d840a768f52679f649ffdcd0ce2
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 08:48:09 2021
Run only kapt or javac depending on sources
Previously, we did run each compilation test with ksp, kapt and javac.
Running a java source only test with kapt does not really cover any new
code paths since kapt delegates to javac to run processors.
This update changes `runProcessorTest` to pick either Kapt or Javac
depending on the sources instead of running both.
Bug: 160322705
Test: InProcessorTest
Change-Id: I4c89d7cdd6af0d8b10d7c68fa5d4f607e22a7712
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler/src/test/kotlin/androidx/room/testing/InProcessorTest.kt
https://android-review.googlesource.com/1592196
Branch: androidx-main
commit aa9411dfb6b68d840a768f52679f649ffdcd0ce2
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 08:48:09 2021
Run only kapt or javac depending on sources
Previously, we did run each compilation test with ksp, kapt and javac.
Running a java source only test with kapt does not really cover any new
code paths since kapt delegates to javac to run processors.
This update changes `runProcessorTest` to pick either Kapt or Javac
depending on the sources instead of running both.
Bug: 160322705
Test: InProcessorTest
Change-Id: I4c89d7cdd6af0d8b10d7c68fa5d4f607e22a7712
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler/src/test/kotlin/androidx/room/testing/InProcessorTest.kt
ap...@google.com <ap...@google.com> #91
Project: platform/frameworks/support
Branch: androidx-main
commit 87b680d5394a303deb07bd97cda024f2ea793ea0
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 09:19:47 2021
Run CustomConverterProcessorTest with ksp
Bug: 160322705
Test: CustomConverterProcessorTest
Change-Id: Iecdcb6992003f4b7d397d1d7999b5b933e6cf37f
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
https://android-review.googlesource.com/1592197
Branch: androidx-main
commit 87b680d5394a303deb07bd97cda024f2ea793ea0
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 09:19:47 2021
Run CustomConverterProcessorTest with ksp
Bug: 160322705
Test: CustomConverterProcessorTest
Change-Id: Iecdcb6992003f4b7d397d1d7999b5b933e6cf37f
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspType.kt
M room/compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
ap...@google.com <ap...@google.com> #92
Project: platform/frameworks/support
Branch: androidx-main
commit 0717e5d4a5ac51c0b6dc0fd6015ca5d12822c20c
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 13:22:25 2021
Run DaoProcessorTest with KSP
* I had to change `cannotFindQueryResutlAdapter` error to receive a
typename instead of string to not rely on XType.toString for error.
Bug: 160322705
Test: DaoprocessorTest
Change-Id: I543aef57723cc61656233b91d6752d116de4144d
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RelationCollector.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1593073
Branch: androidx-main
commit 0717e5d4a5ac51c0b6dc0fd6015ca5d12822c20c
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Feb 17 13:22:25 2021
Run DaoProcessorTest with KSP
* I had to change `cannotFindQueryResutlAdapter` error to receive a
typename instead of string to not rely on XType.toString for error.
Bug: 160322705
Test: DaoprocessorTest
Change-Id: I543aef57723cc61656233b91d6752d116de4144d
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/main/kotlin/androidx/room/vo/RelationCollector.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #93
Project: platform/frameworks/support
Branch: androidx-main
commit 5ac9465faacf357329afbcc42b36888155f165b1
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 14:19:52 2021
update ksp to alpha04
Bug: 160322705
Test: RoomIncrementalAnnotationProcessingTest
Change-Id: I5308dfb8c8399ae10a46ed4a801bb0d34f7b067b
M buildSrc/build_dependencies.gradle
M room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt
https://android-review.googlesource.com/1612612
Branch: androidx-main
commit 5ac9465faacf357329afbcc42b36888155f165b1
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 14:19:52 2021
update ksp to alpha04
Bug: 160322705
Test: RoomIncrementalAnnotationProcessingTest
Change-Id: I5308dfb8c8399ae10a46ed4a801bb0d34f7b067b
M buildSrc/build_dependencies.gradle
M room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt
ap...@google.com <ap...@google.com> #94
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit 6be8aedc7b371894baabb464ef90ca0dac5c1a75
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 14:20:09 2021
update ksp to alpha04
Bug: 160322705
Test: RoomIncrementalAnnotationProcessingTest
Change-Id: I0b1d01424e3e782899e55c7e6b9d3f99892faec2
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom.sha1
https://android-review.googlesource.com/1611228
Branch: androidx-main
commit 6be8aedc7b371894baabb464ef90ca0dac5c1a75
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 14:20:09 2021
update ksp to alpha04
Bug: 160322705
Test: RoomIncrementalAnnotationProcessingTest
Change-Id: I0b1d01424e3e782899e55c7e6b9d3f99892faec2
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha03/symbol-processing-api-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.30-1.0.0-alpha04/symbol-processing-api-1.4.30-1.0.0-alpha04.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha03/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.30-1.0.0-alpha04/symbol-processing-gradle-plugin-1.4.30-1.0.0-alpha04.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha03/symbol-processing-1.4.30-1.0.0-alpha03.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.30-1.0.0-alpha04/symbol-processing-1.4.30-1.0.0-alpha04.pom.sha1
ap...@google.com <ap...@google.com> #95
Project: platform/frameworks/support
Branch: androidx-main
commit 186c42299f239aabfc9c56d0533113706d92fd03
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 16:53:38 2021
Introduce ExperimentalProcessingAPI annotation for room processing APIs
These APIs are specific to room but there has been an external request
to make them usable so people can try KSP easier.
We have no intentions at this point to support these as public stable
APIs but using this annotation, we can let people use them and
understand the risks. Eventually, this artifact can grow into a real API
so getting more people to play with it is actually a good option to test
it.
In theory, we should be adding this API to every single public method in
compiler-processing. Even though it is do-able, it is a lot of
unnecessary and confusing code.
Instead, only the entry point (XProcessingEnv) has the annotation since
this library is not usable w/o that entry point. Room-compiler opts into
it via its gradle file to avoid the churn there. The testing module, on
the other hand, inherits the annotation to ensure developer won't try to
use them without opting in.
Also enabled publishing for the testing artifact
Bug: 160322705
Test: Run tests with -Pandroidx.allWarningsAsErrors
Change-Id: Ib165b501fa57e2c69a5e558667d6770f0d63cc55
M buildSrc/src/main/kotlin/androidx/build/LibraryType.kt
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing/build.gradle
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ExperimentalProcessingApi.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler/build.gradle
https://android-review.googlesource.com/1612688
Branch: androidx-main
commit 186c42299f239aabfc9c56d0533113706d92fd03
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 01 16:53:38 2021
Introduce ExperimentalProcessingAPI annotation for room processing APIs
These APIs are specific to room but there has been an external request
to make them usable so people can try KSP easier.
We have no intentions at this point to support these as public stable
APIs but using this annotation, we can let people use them and
understand the risks. Eventually, this artifact can grow into a real API
so getting more people to play with it is actually a good option to test
it.
In theory, we should be adding this API to every single public method in
compiler-processing. Even though it is do-able, it is a lot of
unnecessary and confusing code.
Instead, only the entry point (XProcessingEnv) has the annotation since
this library is not usable w/o that entry point. Room-compiler opts into
it via its gradle file to avoid the churn there. The testing module, on
the other hand, inherits the annotation to ensure developer won't try to
use them without opting in.
Also enabled publishing for the testing artifact
Bug: 160322705
Test: Run tests with -Pandroidx.allWarningsAsErrors
Change-Id: Ib165b501fa57e2c69a5e558667d6770f0d63cc55
M buildSrc/src/main/kotlin/androidx/build/LibraryType.kt
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/XTestInvocation.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing/build.gradle
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ExperimentalProcessingApi.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/JavacTestProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
M room/compiler/build.gradle
ap...@google.com <ap...@google.com> #96
Project: platform/frameworks/support
Branch: androidx-main
commit 2330c79d04319cb349d7cf87a633262fea4d7999
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 15 16:10:43 2021
Update KSP to alpha05
KSP alpha05 has some annotation target fixes which breaks Room's
workarounds. Unfortunately, we hit another bug which prevents us from
removing the use site target checks but i needed to change some to
handle the fixes in KSP.
https://github.com/google/ksp/issues/355
Updated XAnnotationBox test to also run with pre-compiled code.
Unfortunately, KSP fails for annotation of annotations case:
https://github.com/google/ksp/issues/356
There is also a recent KSP change to make some methods nullable (jvm
name methods). It is not in alpha05 yet but to future proof room's code,
I changed Room's code to handle them being null (even though compiler
complains, it is the correct change).
Bug: 160322705
Test: existing room tests
Change-Id: I4b88853d06c48cae563a6f3ad7363e6ff4ca0abf
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/TestUilts.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/TestSuppressWarnings.java
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1639320
Branch: androidx-main
commit 2330c79d04319cb349d7cf87a633262fea4d7999
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 15 16:10:43 2021
Update KSP to alpha05
KSP alpha05 has some annotation target fixes which breaks Room's
workarounds. Unfortunately, we hit another bug which prevents us from
removing the use site target checks but i needed to change some to
handle the fixes in KSP.
Updated XAnnotationBox test to also run with pre-compiled code.
Unfortunately, KSP fails for annotation of annotations case:
There is also a recent KSP change to make some methods nullable (jvm
name methods). It is not in alpha05 yet but to future proof room's code,
I changed Room's code to handle them being null (even though compiler
complains, it is the correct change).
Bug: 160322705
Test: existing room tests
Change-Id: I4b88853d06c48cae563a6f3ad7363e6ff4ca0abf
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
A room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/TestUilts.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/TestSuppressWarnings.java
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #97
Project: platform/frameworks/support
Branch: androidx-main
commit 46bd8e0f6f09c7c17ea611ab76416987177e7730
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 15 23:45:31 2021
Add readme for x processing for curious developers
A couple of external devs want to try KSP with XProcessing hence writing
this brief document that will be linked from KSP's README.
It is not designed to be extensive, instead, it is just designed to give
an idea to people who want to try using KSP while keeping JavaAP
support.
Bug: 160322705
Test: n/a
Change-Id: Idbc30cc28481d1cd799a3e83d1260c574510bb09
A room/compiler-processing/README.md
https://android-review.googlesource.com/1638266
Branch: androidx-main
commit 46bd8e0f6f09c7c17ea611ab76416987177e7730
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Mar 15 23:45:31 2021
Add readme for x processing for curious developers
A couple of external devs want to try KSP with XProcessing hence writing
this brief document that will be linked from KSP's README.
It is not designed to be extensive, instead, it is just designed to give
an idea to people who want to try using KSP while keeping JavaAP
support.
Bug: 160322705
Test: n/a
Change-Id: Idbc30cc28481d1cd799a3e83d1260c574510bb09
A room/compiler-processing/README.md
ap...@google.com <ap...@google.com> #98
Project: platform/frameworks/support
Branch: androidx-main
commit 09dffec263598cf6e92c14ecb1741323733a3dbd
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Mar 18 11:17:52 2021
Repeatable annotation support in XProcessing
Repeatable annotation in Java AP work via a container class which we can
use to get all of the annotations.
Unfortunately, KSP does not yet support it where:
* Each annotation shows up as an element in the annotations list of
KSAnntated if it's origin is source and the wrapper annotation shows up if
origin is .class.
To avoid inconsistencies in the XProcessing APIs, I've added a
`getAnnotations(KClass<T:Annotation>)` API which will return all
repeated annotations. It automatically checks if the given annotation is
repeated and if so, uses the container class to query.
I've also renamed `toAnnotationBox` to `getAnnotation` but kept the old
one deprecated for easy migration for XProcessing clients.
This is still not perfect due to two issues in KSP and 1 issue in
Kotlin:
https://youtrack.jetbrains.com/issue/KT-12794
https://github.com/google/ksp/issues/356
https://github.com/google/ksp/issues/358
tl;dr; Kotlin does not support Repeatable annotations unless it has
SOURCE retention.
Moreover, due to #356, we cannot support these in .class files. It
should automatically be fixed in XProcessing when KSP side is fixed
(though it seems to be a kotlin compiler issue hence may take a while to
fix in KSP).
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: Ib1fb97861ab3a01060ca8245107698a4d46d67cf
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/KClassExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/RepeatableJavaAnnotation.java
M room/compiler/src/main/kotlin/androidx/room/processor/AutoMigrationProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FieldProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/RawQueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/SuppressWarningProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Pojo.kt
https://android-review.googlesource.com/1646246
Branch: androidx-main
commit 09dffec263598cf6e92c14ecb1741323733a3dbd
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Mar 18 11:17:52 2021
Repeatable annotation support in XProcessing
Repeatable annotation in Java AP work via a container class which we can
use to get all of the annotations.
Unfortunately, KSP does not yet support it where:
* Each annotation shows up as an element in the annotations list of
KSAnntated if it's origin is source and the wrapper annotation shows up if
origin is .class.
To avoid inconsistencies in the XProcessing APIs, I've added a
`getAnnotations(KClass<T:Annotation>)` API which will return all
repeated annotations. It automatically checks if the given annotation is
repeated and if so, uses the container class to query.
I've also renamed `toAnnotationBox` to `getAnnotation` but kept the old
one deprecated for easy migration for XProcessing clients.
This is still not perfect due to two issues in KSP and 1 issue in
Kotlin:
tl;dr; Kotlin does not support Repeatable annotations unless it has
SOURCE retention.
Moreover, due to #356, we cannot support these in .class files. It
should automatically be fixed in XProcessing when KSP side is fixed
(though it seems to be a kotlin compiler issue hence may take a while to
fix in KSP).
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: Ib1fb97861ab3a01060ca8245107698a4d46d67cf
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/KClassExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/testcode/RepeatableJavaAnnotation.java
M room/compiler/src/main/kotlin/androidx/room/processor/AutoMigrationProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseViewProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FieldProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/RawQueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/SuppressWarningProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Pojo.kt
ap...@google.com <ap...@google.com> #99
Project: platform/frameworks/support
Branch: androidx-main
commit 3f9bc79b1260e43bc91fac07a7fb978e7c2b9f21
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 24 16:33:44 2021
Update KSP to alpha 06
This version has 2 important changes.
In Alpha 05, * projections in kotlin source files were not resolved to
any type hence we were able to detect them as is. Appearantly, it is not
how it worked for .class files but we didn't have tests covering it.
In Alpha 06, KSP delegates to the compiler in more places which means a
type declared as:
MyType<*> actually gets resolved as TypeReference(variance:START,
type=Any?). Unfortunately, it is exactly the same way it is resolved
when declared as MyType<T> when T is not specified. Ideally, resolving
these to the upper bound would be more correct but that is not what
happens with JavaAP `TypeElement.asType()`. As a result, I just removed
the test where we expect `MyType<*>` to match KAPT and also expanded all
KSTypeExtTests's to cover compiled files. This change makes it more
consistent within KSP even though it slightly diverges from Java AP.
Another important change is that KSP fixed how annotation use site
targets are handled such that annotations with use site targets show up in
the target element's annotations (that is what happened for .class files
already). If target element is implicit, KSP still generates it as a
synthetic. Note that, even though this reduces the complexity of
KspAnnotated (no combine logic), we still need to check for use site
targets and the current bug where we don't find default use site target
is still present. (has a TODO for it already).
Bug: 160322705
Test: existing tests
Change-Id: Ia35dd2def79fb5aed983f5153d4f4e051aefcebb
M buildSrc/build_dependencies.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/integration-tests/kotlintestapp/build.gradle
https://android-review.googlesource.com/1653529
Branch: androidx-main
commit 3f9bc79b1260e43bc91fac07a7fb978e7c2b9f21
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 24 16:33:44 2021
Update KSP to alpha 06
This version has 2 important changes.
In Alpha 05, * projections in kotlin source files were not resolved to
any type hence we were able to detect them as is. Appearantly, it is not
how it worked for .class files but we didn't have tests covering it.
In Alpha 06, KSP delegates to the compiler in more places which means a
type declared as:
MyType<*> actually gets resolved as TypeReference(variance:START,
type=Any?). Unfortunately, it is exactly the same way it is resolved
when declared as MyType<T> when T is not specified. Ideally, resolving
these to the upper bound would be more correct but that is not what
happens with JavaAP `TypeElement.asType()`. As a result, I just removed
the test where we expect `MyType<*>` to match KAPT and also expanded all
KSTypeExtTests's to cover compiled files. This change makes it more
consistent within KSP even though it slightly diverges from Java AP.
Another important change is that KSP fixed how annotation use site
targets are handled such that annotations with use site targets show up in
the target element's annotations (that is what happened for .class files
already). If target element is implicit, KSP still generates it as a
synthetic. Note that, even though this reduces the complexity of
KspAnnotated (no combine logic), we still need to check for use site
targets and the current bug where we don't find default use site target
is still present. (has a TODO for it already).
Bug: 160322705
Test: existing tests
Change-Id: Ia35dd2def79fb5aed983f5153d4f4e051aefcebb
M buildSrc/build_dependencies.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KSTypeExtTest.kt
M room/integration-tests/kotlintestapp/build.gradle
ap...@google.com <ap...@google.com> #100
Project: platform/frameworks/support
Branch: androidx-main
commit 48e98902a2f5dfaac2043da3cf0e65dd51c28b8b
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 17:57:54 2021
Run TypeAssignmentTest with KSP
Bug: 160322705
Test: TypeAssignmentTest
Change-Id: I35ddab08129b950a2fa2c674d642f2d39eebb3a3
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAssignmentTest.kt
https://android-review.googlesource.com/1659620
Branch: androidx-main
commit 48e98902a2f5dfaac2043da3cf0e65dd51c28b8b
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 17:57:54 2021
Run TypeAssignmentTest with KSP
Bug: 160322705
Test: TypeAssignmentTest
Change-Id: I35ddab08129b950a2fa2c674d642f2d39eebb3a3
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAssignmentTest.kt
ap...@google.com <ap...@google.com> #101
Project: platform/frameworks/support
Branch: androidx-main
commit b36189881a4eedde8ca1696b5f3f0a1ffacef720
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 17:55:34 2021
Run DatabaseVerifierTest with KSP
Bug: 160322705
Test: DatabaseVerifierTest
Change-Id: I866fd32b15f5277841096549ebf21e93516e4b49
M room/compiler/src/test/kotlin/androidx/room/verifier/DatabaseVerifierTest.kt
https://android-review.googlesource.com/1659619
Branch: androidx-main
commit b36189881a4eedde8ca1696b5f3f0a1ffacef720
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 17:55:34 2021
Run DatabaseVerifierTest with KSP
Bug: 160322705
Test: DatabaseVerifierTest
Change-Id: I866fd32b15f5277841096549ebf21e93516e4b49
M room/compiler/src/test/kotlin/androidx/room/verifier/DatabaseVerifierTest.kt
ap...@google.com <ap...@google.com> #102
Project: platform/frameworks/support
Branch: androidx-main
commit 17c4f70140f94d7911edcf705bb1bf563c35329e
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 19:13:59 2021
Run AutoValuePojoProcessorDelegate tests with KSP
This CL runs all auto value tests with KSP.
Unfortunately, we've hit a known bug in KSP where we
cannot detect static modifier in dependencies.
https://github.com/google/ksp/issues/231
I've also added support for passing annotation / symbol
processors to the compileFiles method, it was necessary
to compile some source with AutoValue.
I've also removed the classpath filter in XProcessing compiler. It
matters a bit for performance but filtering for Room classes is not
correct for a general purpose library (it also broke the auto value
case). Removed that filtering as the main performance issues is already
fixed in Kotlin Compile Testing.
Bug: 160322705
Test: AutoValuePojoProcessorDelegateTest
Change-Id: Ieb7ebb6ae827d077df5fb3e0685dd0d764f56a8e
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler/src/test/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegateTest.kt
https://android-review.googlesource.com/1659623
Branch: androidx-main
commit 17c4f70140f94d7911edcf705bb1bf563c35329e
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Mar 30 19:13:59 2021
Run AutoValuePojoProcessorDelegate tests with KSP
This CL runs all auto value tests with KSP.
Unfortunately, we've hit a known bug in KSP where we
cannot detect static modifier in dependencies.
I've also added support for passing annotation / symbol
processors to the compileFiles method, it was necessary
to compile some source with AutoValue.
I've also removed the classpath filter in XProcessing compiler. It
matters a bit for performance but filtering for Room classes is not
correct for a general purpose library (it also broke the auto value
case). Removed that filtering as the main performance issues is already
fixed in Kotlin Compile Testing.
Bug: 160322705
Test: AutoValuePojoProcessorDelegateTest
Change-Id: Ieb7ebb6ae827d077df5fb3e0685dd0d764f56a8e
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/KotlinCompilationUtil.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler/src/test/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegateTest.kt
ap...@google.com <ap...@google.com> #103
Project: platform/frameworks/support
Branch: androidx-main
commit e477fa8abd52722da91e263f002cc553ff0a4af4
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 11:08:16 2021
Run Fts3/4 tests with ksp
Bug: 160322705
Test: Fts3TableEntityProcessorTest, Fts4TableEntityProcessorTest
Change-Id: I419ad64e07a0fe08de1304604b46b4f98c2c343e
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts3TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
https://android-review.googlesource.com/1662481
Branch: androidx-main
commit e477fa8abd52722da91e263f002cc553ff0a4af4
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 11:08:16 2021
Run Fts3/4 tests with ksp
Bug: 160322705
Test: Fts3TableEntityProcessorTest, Fts4TableEntityProcessorTest
Change-Id: I419ad64e07a0fe08de1304604b46b4f98c2c343e
M room/compiler/src/main/kotlin/androidx/room/processor/FtsTableEntityProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseFtsEntityParserTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts3TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/Fts4TableEntityProcessorTest.kt
ap...@google.com <ap...@google.com> #104
Project: platform/frameworks/support
Branch: androidx-main
commit f39090e6dfdcf4c970b166c898e101fb8dd44dbe
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 11:55:41 2021
Run FieldProcessorTest with KSP
I had to modify tests a bit due to flexible types in kotlin.
When Kotlin compiler parses a java source without nullability
annotations, its type will be flexible betwee (T..T?) which means the
type equality in the test does not work.
This should not affect caching (which is why Field is a data class) but
affects the test. I've added nullability annotations whenever possible.
For boxed arrays (e.g. Integer[]), there is no way to fix the
nullability of type argument in Kotlin Array (Array<Int..Int?>). For
that test, I just changed it to assert type via typenames.
Also, the test that detects unbound generics do not apply to KSP as they
are always bound to Any..Any?. Instead, i changed the test to assert
that compilation failed with "cannot save this type" error.
Bug: 160322705
Test: FieldProcessorTest
Change-Id: I9f622b7aaff7d7b5f8050836044fb142f828d811
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
https://android-review.googlesource.com/1661947
Branch: androidx-main
commit f39090e6dfdcf4c970b166c898e101fb8dd44dbe
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 11:55:41 2021
Run FieldProcessorTest with KSP
I had to modify tests a bit due to flexible types in kotlin.
When Kotlin compiler parses a java source without nullability
annotations, its type will be flexible betwee (T..T?) which means the
type equality in the test does not work.
This should not affect caching (which is why Field is a data class) but
affects the test. I've added nullability annotations whenever possible.
For boxed arrays (e.g. Integer[]), there is no way to fix the
nullability of type argument in Kotlin Array (Array<Int..Int?>). For
that test, I just changed it to assert type via typenames.
Also, the test that detects unbound generics do not apply to KSP as they
are always bound to Any..Any?. Instead, i changed the test to assert
that compilation failed with "cannot save this type" error.
Bug: 160322705
Test: FieldProcessorTest
Change-Id: I9f622b7aaff7d7b5f8050836044fb142f828d811
M room/compiler/src/test/kotlin/androidx/room/processor/FieldProcessorTest.kt
ap...@google.com <ap...@google.com> #105
Project: platform/frameworks/support
Branch: androidx-main
commit 4f182966381a0c305836ffdbd4339893072add0f
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 19:24:16 2021
Run PojoProcessorTargetMethodTest with KSP
There is a minor difference between JavaAP and KSP where KSP names
functions "function" whereas JavaAP names them "method". Since these are
user visible messages, it is better to show the name based on the
processor hence i updated the error message assertions to take it into
account.
Bug: 160322705
Test: PojoProcessorTargetMethodTest
Change-Id: I6c58b5578701593b956b233f592652eb973eab34
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTargetMethodTest.kt
https://android-review.googlesource.com/1661602
Branch: androidx-main
commit 4f182966381a0c305836ffdbd4339893072add0f
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 19:24:16 2021
Run PojoProcessorTargetMethodTest with KSP
There is a minor difference between JavaAP and KSP where KSP names
functions "function" whereas JavaAP names them "method". Since these are
user visible messages, it is better to show the name based on the
processor hence i updated the error message assertions to take it into
account.
Bug: 160322705
Test: PojoProcessorTargetMethodTest
Change-Id: I6c58b5578701593b956b233f592652eb973eab34
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTargetMethodTest.kt
ap...@google.com <ap...@google.com> #106
Project: platform/frameworks/support
Branch: androidx-main
commit 4b1923e27e4b3a1175ac10ed787b5875af8268c4
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 18:49:09 2021
Run PojoProcessorTest with KSP
This CL moves PojoProcessorTest to xprocessing.
There are two differences with JavaAP.
Error detection for primitives do not work in KSP since all
types in KSP have a type element (a.k.a. no primitives).
Technically, we could check if their typename is primitive
but they already fail for lack of constructor so I changed
their errors instead in the test.
Also, there is an existing bug in KSP where it loses KSType.isError
information in some cases. Changed the expected error for that test
for now.
https://github.com/google/ksp/issues/371
Bug: 160322705
Test: PojoProcessorTest
Change-Id: I4a102bf9a6e5e749711783ac55955284d4d0b5fb
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
https://android-review.googlesource.com/1661601
Branch: androidx-main
commit 4b1923e27e4b3a1175ac10ed787b5875af8268c4
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 18:49:09 2021
Run PojoProcessorTest with KSP
This CL moves PojoProcessorTest to xprocessing.
There are two differences with JavaAP.
Error detection for primitives do not work in KSP since all
types in KSP have a type element (a.k.a. no primitives).
Technically, we could check if their typename is primitive
but they already fail for lack of constructor so I changed
their errors instead in the test.
Also, there is an existing bug in KSP where it loses KSType.isError
information in some cases. Changed the expected error for that test
for now.
Bug: 160322705
Test: PojoProcessorTest
Change-Id: I4a102bf9a6e5e749711783ac55955284d4d0b5fb
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
ap...@google.com <ap...@google.com> #107
Project: platform/frameworks/support
Branch: androidx-main
commit 191229edc152984632622079db9417de207f605e
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 15:04:35 2021
Run ProjectionExpanderTest with KSP
This test was passing the expand projection argument but apperantly it
does not need to because it always invokes the expander itself so I just
removed it instead of adding that capability to runProcessorTest.
Bug: 160322705
Test: ProjectionExpanderTest
Change-Id: Ib66f680669de14886e92350e9f58c3cc545c83c4
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
https://android-review.googlesource.com/1661282
Branch: androidx-main
commit 191229edc152984632622079db9417de207f605e
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 15:04:35 2021
Run ProjectionExpanderTest with KSP
This test was passing the expand projection argument but apperantly it
does not need to because it always invokes the expander itself so I just
removed it instead of adding that capability to runProcessorTest.
Bug: 160322705
Test: ProjectionExpanderTest
Change-Id: Ib66f680669de14886e92350e9f58c3cc545c83c4
M room/compiler/src/test/kotlin/androidx/room/processor/ProjectionExpanderTest.kt
ap...@google.com <ap...@google.com> #108
Project: platform/frameworks/support
Branch: androidx-main
commit 50764a2c55015f769bdec8e12010871d414e24f5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 09:06:23 2021
Run RawQueryMethodProcessorTest with KSP
Bug: 160322705
Test: RawQueryMethodProcessorTest
Change-Id: Ib7a503c6efa195b46cdee0f5c4673884733343fe
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
https://android-review.googlesource.com/1660518
Branch: androidx-main
commit 50764a2c55015f769bdec8e12010871d414e24f5
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Mar 31 09:06:23 2021
Run RawQueryMethodProcessorTest with KSP
Bug: 160322705
Test: RawQueryMethodProcessorTest
Change-Id: Ib7a503c6efa195b46cdee0f5c4673884733343fe
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #109
Project: platform/frameworks/support
Branch: androidx-main
commit 3b936a5061a1f7e68dd1daca166dd60048357e2e
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 17:00:13 2021
Run DatabaseProcessorTest with KSP
I added a runProcessorTest overload that receives a processing step so
it is also possible to run full processing step tests.
Like in other CLs, all tests that required errors for primitive types
have different errors in KSP since there are no primitives in kotlin.
Bug: 160322705
Test: DatabaseProcessorTest
Change-Id: I35aacc03ff550eda76727ecc9c7470f30c4b76fd
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
https://android-review.googlesource.com/1663059
Branch: androidx-main
commit 3b936a5061a1f7e68dd1daca166dd60048357e2e
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 17:00:13 2021
Run DatabaseProcessorTest with KSP
I added a runProcessorTest overload that receives a processing step so
it is also possible to run full processing step tests.
Like in other CLs, all tests that required errors for primitive types
have different errors in KSP since there are no primitives in kotlin.
Bug: 160322705
Test: DatabaseProcessorTest
Change-Id: I35aacc03ff550eda76727ecc9c7470f30c4b76fd
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DaoProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
ap...@google.com <ap...@google.com> #110
Project: platform/frameworks/support
Branch: androidx-main
commit 531d5ab755b89c411b38a3d61ad7033b1d2644f6
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 17:53:42 2021
Run BaseDaoTest with KSP
BaseDaoTest triggered a bug in XProcessing where we were over-extending
variance resolution to java sources, which is incorrect.
Unfortunately, KSP does not yet tell us if a Origin.CLASS was derived
from a kotlin file or other (java etc).
https://github.com/google/ksp/issues/375
For that, I've expanded KspFieldOrdering to also detect true origin via
reflection (and renamed it to KspClassFileUtility). I also added method
ordering there as order of methods might matter for Auto Value classes.
It adds a performance penalty but we'll eventually get rid of it when
https://github.com/google/ksp/issues/250 is fixed.
Note that method ordering does not check for descriptions so it is not
100% perfect.
Bug: 160322705
Test: BaseDaoTest, MethodSpecHelperTest, KspClassFileUtilityTest
Change-Id: Iddfed0f72c438987a7f68ded62e9653275685189
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
D room/compiler-processing/src/test/java/androidx/room/compiler/processing/OrderOfFieldsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
https://android-review.googlesource.com/1663060
Branch: androidx-main
commit 531d5ab755b89c411b38a3d61ad7033b1d2644f6
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 01 17:53:42 2021
Run BaseDaoTest with KSP
BaseDaoTest triggered a bug in XProcessing where we were over-extending
variance resolution to java sources, which is incorrect.
Unfortunately, KSP does not yet tell us if a Origin.CLASS was derived
from a kotlin file or other (java etc).
For that, I've expanded KspFieldOrdering to also detect true origin via
reflection (and renamed it to KspClassFileUtility). I also added method
ordering there as order of methods might matter for Auto Value classes.
It adds a performance penalty but we'll eventually get rid of it when
Note that method ordering does not check for descriptions so it is not
100% perfect.
Bug: 160322705
Test: BaseDaoTest, MethodSpecHelperTest, KspClassFileUtilityTest
Change-Id: Iddfed0f72c438987a7f68ded62e9653275685189
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
D room/compiler-processing/src/test/java/androidx/room/compiler/processing/OrderOfFieldsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
ap...@google.com <ap...@google.com> #111
Project: platform/frameworks/support
Branch: androidx-main
commit 8bda14e995240533d8115dc6415d0b5c0f42a59a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 17:52:17 2021
Run ElementExtTest with KSP
Also includes a minor test cleanup where previously, it provided an
assertThat method which autmatically maps the input to method names. It
was confusing to read so I moved it to an explicit names() function.
With this CL, we can remove the simple run helper method as it won't
be used anymore.
I also tried to make this test run with pre-compiled sources but this
test hits the KSP static bug very frequently, and there is no easy
workaround to ignore it in tests without one-off if statements.
Instead, I created a bug to update it: b/184588339
https://github.com/google/ksp/issues/231
Bug: 184588339
Bug: 160322705
Test: ElementExtTest
Change-Id: Ic9823f7ccdd307f69260533841509fb5d8878560
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1665204
Branch: androidx-main
commit 8bda14e995240533d8115dc6415d0b5c0f42a59a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 17:52:17 2021
Run ElementExtTest with KSP
Also includes a minor test cleanup where previously, it provided an
assertThat method which autmatically maps the input to method names. It
was confusing to read so I moved it to an explicit names() function.
With this CL, we can remove the simple run helper method as it won't
be used anymore.
I also tried to make this test run with pre-compiled sources but this
test hits the KSP static bug very frequently, and there is no easy
workaround to ignore it in tests without one-off if statements.
Instead, I created a bug to update it:
Bug: 184588339
Bug: 160322705
Test: ElementExtTest
Change-Id: Ic9823f7ccdd307f69260533841509fb5d8878560
M room/compiler/src/test/kotlin/androidx/room/ext/ElementExtTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #112
Project: platform/frameworks/support
Branch: androidx-main
commit af54b0399f8b282bdf0f125abb1c3f6d5123cd81
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 18:36:00 2021
Remove compile library helper function
This CL replaces the last usage of compile library helper function
in Room testing with the one available in XProcessing.
Bug: 160322705
Test: TableEntityProcessorTest
Change-Id: Ifdfb179c2866a0d7a2d965bfd34466427ae337c2
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1665206
Branch: androidx-main
commit af54b0399f8b282bdf0f125abb1c3f6d5123cd81
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 18:36:00 2021
Remove compile library helper function
This CL replaces the last usage of compile library helper function
in Room testing with the one available in XProcessing.
Bug: 160322705
Test: TableEntityProcessorTest
Change-Id: Ifdfb179c2866a0d7a2d965bfd34466427ae337c2
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #113
Project: platform/frameworks/support
Branch: androidx-main
commit 40f2af5d684ee77f482d5b358b42febd057eaf10
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 18:52:36 2021
Run CustomTypeConverterResolutionTest with KSP
Bug: 160322705
Test: CustomTypeConverterResolutionTest
Change-Id: I8aed1c79a4e33910975eac3a7c8cb70d926ffc7a
M room/compiler/src/test/kotlin/androidx/room/solver/CustomTypeConverterResolutionTest.kt
https://android-review.googlesource.com/1665207
Branch: androidx-main
commit 40f2af5d684ee77f482d5b358b42febd057eaf10
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 18:52:36 2021
Run CustomTypeConverterResolutionTest with KSP
Bug: 160322705
Test: CustomTypeConverterResolutionTest
Change-Id: I8aed1c79a4e33910975eac3a7c8cb70d926ffc7a
M room/compiler/src/test/kotlin/androidx/room/solver/CustomTypeConverterResolutionTest.kt
ap...@google.com <ap...@google.com> #114
Project: platform/frameworks/support
Branch: androidx-main
commit c1a6959083de535acac3ae5924da969f08810ecb
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 19:04:26 2021
Run QueryWriterTest with KSP
Bug: 160322705
Test: QueryWriterTest
Change-Id: I7af66b78eac70042545e4a78253219645809684d
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
https://android-review.googlesource.com/1665208
Branch: androidx-main
commit c1a6959083de535acac3ae5924da969f08810ecb
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 19:04:26 2021
Run QueryWriterTest with KSP
Bug: 160322705
Test: QueryWriterTest
Change-Id: I7af66b78eac70042545e4a78253219645809684d
M room/compiler/src/test/kotlin/androidx/room/solver/query/QueryWriterTest.kt
ap...@google.com <ap...@google.com> #115
Project: platform/frameworks/support
Branch: androidx-main
commit bdffe9a53750b93e344792ea6a400f90dd11fe48
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 19:14:06 2021
Run TransactionMethodProcessorTest with KSP
Bug: 160322705
Test: TransactionMethodProcessorTest
Change-Id: Ib2e90c72b15752472fd2cdf1acbf129b78410767
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
https://android-review.googlesource.com/1665209
Branch: androidx-main
commit bdffe9a53750b93e344792ea6a400f90dd11fe48
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Apr 05 19:14:06 2021
Run TransactionMethodProcessorTest with KSP
Bug: 160322705
Test: TransactionMethodProcessorTest
Change-Id: Ib2e90c72b15752472fd2cdf1acbf129b78410767
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #116
Project: platform/frameworks/support
Branch: androidx-main
commit 314ef68d9126d7cabdaa19192c3972cba60da4fd
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Apr 06 17:44:10 2021
Run ShortcutMethod processor tests with KSP
This CL updates ShortcutMethodProcessorTest to also run with KSP
(it covers Update and Delete cases).
I noticed that deletion processor does not validate that the parameter
does have at least 1 valid column, added a new test for that.
Fixes: 184684567
Bug: 160322705
Test: DeletionMethodProcessorTest, UpdateMethodProcessorTest
Change-Id: Ia71d37ab49c4641b4e937b092ebc56406b7a6cc0
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/UpdateMethodProcessorTest.kt
https://android-review.googlesource.com/1665824
Branch: androidx-main
commit 314ef68d9126d7cabdaa19192c3972cba60da4fd
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Apr 06 17:44:10 2021
Run ShortcutMethod processor tests with KSP
This CL updates ShortcutMethodProcessorTest to also run with KSP
(it covers Update and Delete cases).
I noticed that deletion processor does not validate that the parameter
does have at least 1 valid column, added a new test for that.
Fixes: 184684567
Bug: 160322705
Test: DeletionMethodProcessorTest, UpdateMethodProcessorTest
Change-Id: Ia71d37ab49c4641b4e937b092ebc56406b7a6cc0
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ShortcutMethodProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/UpdateMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #117
Project: platform/frameworks/support
Branch: androidx-main
commit 912854cf10c432e13eb3e2605aa151b49b4eb11b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 14:23:53 2021
Run InsertionMethodProcessorTest with KSP
Bug: 160322705
Test: InsertionMethodProcessorTest
Change-Id: Icd465f455beaab6e258ca72c8013e15892d6fe13
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
https://android-review.googlesource.com/1668465
Branch: androidx-main
commit 912854cf10c432e13eb3e2605aa151b49b4eb11b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 14:23:53 2021
Run InsertionMethodProcessorTest with KSP
Bug: 160322705
Test: InsertionMethodProcessorTest
Change-Id: Icd465f455beaab6e258ca72c8013e15892d6fe13
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #118
Project: platform/frameworks/support
Branch: androidx-main
commit 6db45a6edc07ebd862334d8c03cb003c918cad3d
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:13:59 2021
Add ability to pass options to processors
This was necessary to move some tests to the common processing API.
I'm not a big fan of the options name, probably args is better but
I kept it options as that is what ksp uses and also thats what we used
in XProcessingEnv.
Bug: 160322705
Test: TestRunnerTest
Change-Id: I363add83779522673fc1e64246a6abadf6d7a920
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
https://android-review.googlesource.com/1668470
Branch: androidx-main
commit 6db45a6edc07ebd862334d8c03cb003c918cad3d
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:13:59 2021
Add ability to pass options to processors
This was necessary to move some tests to the common processing API.
I'm not a big fan of the options name, probably args is better but
I kept it options as that is what ksp uses and also thats what we used
in XProcessingEnv.
Bug: 160322705
Test: TestRunnerTest
Change-Id: I363add83779522673fc1e64246a6abadf6d7a920
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
ap...@google.com <ap...@google.com> #119
Project: platform/frameworks/support
Branch: androidx-main
commit ddfb1a445da047e4024e1c209576fd1774bf52da
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:16:21 2021
Run RemoveUnusedColumnsTest with KSP
Bug: 160322705
Test: RemoveUnusedColumnsTest
Change-Id: I7c340e734cc10a5f9b2e7d983ea5e299aca2a4b9
M room/compiler/src/test/kotlin/androidx/room/processor/RemoveUnusedColumnsTest.kt
https://android-review.googlesource.com/1668471
Branch: androidx-main
commit ddfb1a445da047e4024e1c209576fd1774bf52da
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:16:21 2021
Run RemoveUnusedColumnsTest with KSP
Bug: 160322705
Test: RemoveUnusedColumnsTest
Change-Id: I7c340e734cc10a5f9b2e7d983ea5e299aca2a4b9
M room/compiler/src/test/kotlin/androidx/room/processor/RemoveUnusedColumnsTest.kt
ap...@google.com <ap...@google.com> #120
Project: platform/frameworks/support
Branch: androidx-main
commit 72dc16e5064d94ced6efd64e0185e2732a9e3a20
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:23:49 2021
Run RawQueryMethodProcessorTest with KSP
Bug: 160322705
Test: RawQueryMethodProcessorTest
Change-Id: Ic61524362534a635fa1a2193b6bd3ba63c123564
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
https://android-review.googlesource.com/1668472
Branch: androidx-main
commit 72dc16e5064d94ced6efd64e0185e2732a9e3a20
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 17:23:49 2021
Run RawQueryMethodProcessorTest with KSP
Bug: 160322705
Test: RawQueryMethodProcessorTest
Change-Id: Ic61524362534a635fa1a2193b6bd3ba63c123564
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #121
Project: platform/frameworks/support
Branch: androidx-main
commit f95a285d57b74e64afdcfa9e334546c7b93d16f1
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 11:26:01 2021
Handle non-repeated repeatable annotations
This CL fixes a bug in XAnnotationBox where it failed to read Repeatable
annotations when the annotation is not repeated on the element (e.g.
only 1 instance).
Apparentlyy, javac wraps it into the container annotation only if the
annotation is repeated and otherwise, we need to query with the repeated
annotation itself to get the value.
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: I50cdf4b0ebeeaa6ca9d5e18b80d2aeb6e1757dff
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
https://android-review.googlesource.com/1670405
Branch: androidx-main
commit f95a285d57b74e64afdcfa9e334546c7b93d16f1
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 11:26:01 2021
Handle non-repeated repeatable annotations
This CL fixes a bug in XAnnotationBox where it failed to read Repeatable
annotations when the annotation is not repeated on the element (e.g.
only 1 instance).
Apparentlyy, javac wraps it into the container annotation only if the
annotation is repeated and otherwise, we need to query with the repeated
annotation itself to get the value.
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: I50cdf4b0ebeeaa6ca9d5e18b80d2aeb6e1757dff
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
ap...@google.com <ap...@google.com> #122
Project: platform/frameworks/support
Branch: androidx-main
commit 7fc4a192bba2e9a20fd3c10b6360dcffc0cd890c
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 18:02:24 2021
Run DatabaseViewProcessorTest with KSP
This was the last test that directly uses TestProcessor hence I removed
that class as well (along with TestInvocation).
I'll cleanup Java Compile Testing in followup CLs
Bug: 160322705
Test: DatabaseViewProcessorTest
Change-Id: I0c09fbbd4b220dacb14989e6e5d98dd050a6c638
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseViewProcessorTest.kt
D room/compiler/src/test/kotlin/androidx/room/testing/TestInvocation.kt
D room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
https://android-review.googlesource.com/1670912
Branch: androidx-main
commit 7fc4a192bba2e9a20fd3c10b6360dcffc0cd890c
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 18:02:24 2021
Run DatabaseViewProcessorTest with KSP
This was the last test that directly uses TestProcessor hence I removed
that class as well (along with TestInvocation).
I'll cleanup Java Compile Testing in followup CLs
Bug: 160322705
Test: DatabaseViewProcessorTest
Change-Id: I0c09fbbd4b220dacb14989e6e5d98dd050a6c638
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseViewProcessorTest.kt
D room/compiler/src/test/kotlin/androidx/room/testing/TestInvocation.kt
D room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
ap...@google.com <ap...@google.com> #123
Project: platform/frameworks/support
Branch: androidx-main
commit e2b8581b1ed0df75be1b8a76d6bc3da4d94da51b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 18:19:52 2021
Run QueryMethodProcessorTest with KSP
This test did not pass as is in KSP, more specifically, turns out
TypeAdapter tries to parse the response type as a Pojo when it is has a
TypeElement, which is always true for KSP. We had a test that returned
int from a multi-column query, which silently passed in JavaC but failed
in KSP as we tried to find a pojo adapter for it.
Making type adapter store check for primitive explicitly fixes the issue
BUT we need an audit of usages of XType.typeElement to ensure
they are not meant as "is this a class or primitive" as that logic does
not hold in KSP anymore. Luckily, we can make it work as we know if it
is a primitive from the TypeName but regardless, it is probably not the
best way to decide during processing.
Bug: 184894249
Bug: 160322705
Test: QueryMethodProcessorTest
Change-Id: I27b2d37045fc5660bfd56c7ecb7e4d84c406974a
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
https://android-review.googlesource.com/1668474
Branch: androidx-main
commit e2b8581b1ed0df75be1b8a76d6bc3da4d94da51b
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Apr 07 18:19:52 2021
Run QueryMethodProcessorTest with KSP
This test did not pass as is in KSP, more specifically, turns out
TypeAdapter tries to parse the response type as a Pojo when it is has a
TypeElement, which is always true for KSP. We had a test that returned
int from a multi-column query, which silently passed in JavaC but failed
in KSP as we tried to find a pojo adapter for it.
Making type adapter store check for primitive explicitly fixes the issue
BUT we need an audit of usages of XType.typeElement to ensure
they are not meant as "is this a class or primitive" as that logic does
not hold in KSP anymore. Luckily, we can make it work as we know if it
is a primitive from the TypeName but regardless, it is probably not the
best way to decide during processing.
Bug: 184894249
Bug: 160322705
Test: QueryMethodProcessorTest
Change-Id: I27b2d37045fc5660bfd56c7ecb7e4d84c406974a
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
ap...@google.com <ap...@google.com> #124
Project: platform/frameworks/support
Branch: androidx-main
commit ccdf4237ad77a792e343b3e51ecd8d02061c1c38
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 18:13:35 2021
Remove Google compile testing from Room compiler
This CL contains the last cleanup step in migration from Java Compile
Testing to compiler processing testing.
Instances of JavaSourceFile are replaced with Source and Java Compile
Testing dependency is removed from compiler test build file (replace
with Truth as appearantly we inherited truth via GCT).
I also noticed that CompilationResultSubject leaked its constructor and
also leaked GCT via `chain` method, which was unnecessary (we can use
kotlin's apply instead). Fixed both of them.
Accessing `actual()` was also causing problems in
CompilationResultSubject, not sure why but just moved them to the passed
in actual value parameter to workaround it.
Bug: 160322705
Test: room-compiler tests
Change-Id: I738049419c9c54ac072dabaf5049e4068212cabe
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler/build.gradle
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RemoveUnusedColumnsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DatabaseWriterTest.kt
https://android-review.googlesource.com/1670914
Branch: androidx-main
commit ccdf4237ad77a792e343b3e51ecd8d02061c1c38
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 08 18:13:35 2021
Remove Google compile testing from Room compiler
This CL contains the last cleanup step in migration from Java Compile
Testing to compiler processing testing.
Instances of JavaSourceFile are replaced with Source and Java Compile
Testing dependency is removed from compiler test build file (replace
with Truth as appearantly we inherited truth via GCT).
I also noticed that CompilationResultSubject leaked its constructor and
also leaked GCT via `chain` method, which was unnecessary (we can use
kotlin's apply instead). Fixed both of them.
Accessing `actual()` was also causing problems in
CompilationResultSubject, not sure why but just moved them to the passed
in actual value parameter to workaround it.
Bug: 160322705
Test: room-compiler tests
Change-Id: I738049419c9c54ac072dabaf5049e4068212cabe
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/CompilationResultSubject.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvTest.kt
M room/compiler/build.gradle
M room/compiler/src/test/kotlin/androidx/room/processor/BaseDaoTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DaoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/DatabaseProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/InsertionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RawQueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/RemoveUnusedColumnsTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TableEntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/TransactionMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DaoWriterTest.kt
M room/compiler/src/test/kotlin/androidx/room/writer/DatabaseWriterTest.kt
ap...@google.com <ap...@google.com> #125
Project: platform/frameworks/support
Branch: androidx-main
commit bf09a008cfee52ceff34d95555e2bbca2e53b6cb
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 10:31:40 2021
Update KSP to alpha07
I also added a very simple script to fetch KSP and update version since
we keep repeating this task and will keep doing it for foreseable future.
Bug: 160322705
Test: room tests
Change-Id: Ic2e307c6de8a9acad9b42b2fa51773f6e5ad36bd
M buildSrc/build_dependencies.gradle
A room/update_ksp.sh
https://android-review.googlesource.com/1672062
Branch: androidx-main
commit bf09a008cfee52ceff34d95555e2bbca2e53b6cb
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 10:31:40 2021
Update KSP to alpha07
I also added a very simple script to fetch KSP and update version since
we keep repeating this task and will keep doing it for foreseable future.
Bug: 160322705
Test: room tests
Change-Id: Ic2e307c6de8a9acad9b42b2fa51773f6e5ad36bd
M buildSrc/build_dependencies.gradle
A room/update_ksp.sh
ap...@google.com <ap...@google.com> #126
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit 9215e434951849ad7a86bae63d3b656d8da911f5
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 10:29:14 2021
Update KSP to alpha07
Bug: 160322705
Test: room tests
Change-Id: Ie56b68e418604427a961dc3b604f9e23217d0a79
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.sha1
https://android-review.googlesource.com/1672345
Branch: androidx-main
commit 9215e434951849ad7a86bae63d3b656d8da911f5
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 10:29:14 2021
Update KSP to alpha07
Bug: 160322705
Test: room tests
Change-Id: Ie56b68e418604427a961dc3b604f9e23217d0a79
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.31-1.0.0-alpha06/symbol-processing-api-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.31-1.0.0-alpha06/symbol-processing-gradle-plugin-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.31-1.0.0-alpha06/symbol-processing-1.4.31-1.0.0-alpha06.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.sha1
ap...@google.com <ap...@google.com> #127
Project: platform/frameworks/support
Branch: androidx-main
commit 6bb8f24dbe06dc5c12c1211d02c609b613decc69
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 16:58:50 2021
Remove ksp issue link forhttps://github.com/google/ksp/issues/187
KSP used to not specify kotlin compiler dependencies in pom files so we
added them manually. Now KSP does this correctly but it is best to keep
them to ensure we use the right compiler version that is used in
AndroidX, not in KSP.
https://github.com/google/ksp/issues/187
Bug: 160322705
Test: existing tests
Change-Id: Ia2c2dc5e8b68bb604abb08703396e0d5fb425539
M room/compiler-processing-testing/build.gradle
https://android-review.googlesource.com/1672827
Branch: androidx-main
commit 6bb8f24dbe06dc5c12c1211d02c609b613decc69
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 16:58:50 2021
Remove ksp issue link for
KSP used to not specify kotlin compiler dependencies in pom files so we
added them manually. Now KSP does this correctly but it is best to keep
them to ensure we use the right compiler version that is used in
AndroidX, not in KSP.
Bug: 160322705
Test: existing tests
Change-Id: Ia2c2dc5e8b68bb604abb08703396e0d5fb425539
M room/compiler-processing-testing/build.gradle
ap...@google.com <ap...@google.com> #128
Project: platform/frameworks/support
Branch: androidx-main
commit 370229ec01c7867bde807919e1c3f70357a31cf5
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 17:35:08 2021
Remove TODO about KSP enum issue
This issue (https://github.com/google/ksp/issues/234 ) was already fixed
in an earlier version but looks like i forgot to remove the TODO.
Test exclusion was removed here:
https://android-review.googlesource.com/c/platform/frameworks/support/+/1543326/7/room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
Bug: 160322705
Test: n/a
Change-Id: Ib36361b8d6598ea18d5f332ee38f62af1b532efc
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
https://android-review.googlesource.com/1672829
Branch: androidx-main
commit 370229ec01c7867bde807919e1c3f70357a31cf5
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 09 17:35:08 2021
Remove TODO about KSP enum issue
This issue (
in an earlier version but looks like i forgot to remove the TODO.
Test exclusion was removed here:
Bug: 160322705
Test: n/a
Change-Id: Ib36361b8d6598ea18d5f332ee38f62af1b532efc
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
ap...@google.com <ap...@google.com> #129
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit 777f1f7ca54ca40f9b1cdff495b99bbde5f4d251
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 30 17:37:39 2021
Prebuilts for ksp-1.4.32-1.0.0-alpha08
Bug: 160322705
Test: room tests
Change-Id: I6eae2b4865c736c2e8eabd723bcf14f2369025cb
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom.sha1
M org/jetbrains/intellij/deps/trove4j/1.0.20181211/LICENSE
https://android-review.googlesource.com/1692808
Branch: androidx-main
commit 777f1f7ca54ca40f9b1cdff495b99bbde5f4d251
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 30 17:37:39 2021
Prebuilts for ksp-1.4.32-1.0.0-alpha08
Bug: 160322705
Test: room tests
Change-Id: I6eae2b4865c736c2e8eabd723bcf14f2369025cb
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha07/symbol-processing-api-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.4.32-1.0.0-alpha08/symbol-processing-api-1.4.32-1.0.0-alpha08.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha07/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.4.32-1.0.0-alpha08/symbol-processing-gradle-plugin-1.4.32-1.0.0-alpha08.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.md5
D com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha07/symbol-processing-1.4.32-1.0.0-alpha07.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/LICENSE
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom.md5
A com/google/devtools/ksp/symbol-processing/1.4.32-1.0.0-alpha08/symbol-processing-1.4.32-1.0.0-alpha08.pom.sha1
M org/jetbrains/intellij/deps/trove4j/1.0.20181211/LICENSE
ap...@google.com <ap...@google.com> #130
Project: platform/frameworks/support
Branch: androidx-main
commit ba124f5d8dc9bc9ddd9673aebf956aca8b5fb254
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 30 18:30:46 2021
Update KSP to ksp-1.4.32-1.0.0-alpha08
In this version, KSP changed how symbol processors are registered, which
broken Kotlin Compile Testing's KSP integration.
To be able to apply the update (which is necessary for kotlin 1.5
update), I've replicated what KCT KSP integration does in our repo and
removed dependency on that module.
I've kept it in KCT's package with the same changes from
https://github.com/tschuchortdev/kotlin-compile-testing/pull/140 such
that once KCT has a new version, we can delete the file and depend back
on to the KCT-KSP module.
I've also updated Room to use the new provider API for registering its
processor.
Bug: 160322705
Test: room tests
Change-Id: I03b73303d0559dd1034e467971843c4c85accc53
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/com/tschuchort/compiletesting/KspKotlinCompileTesting.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingStepTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
M room/compiler/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessorProvider
https://android-review.googlesource.com/1692809
Branch: androidx-main
commit ba124f5d8dc9bc9ddd9673aebf956aca8b5fb254
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 30 18:30:46 2021
Update KSP to ksp-1.4.32-1.0.0-alpha08
In this version, KSP changed how symbol processors are registered, which
broken Kotlin Compile Testing's KSP integration.
To be able to apply the update (which is necessary for kotlin 1.5
update), I've replicated what KCT KSP integration does in our repo and
removed dependency on that module.
I've kept it in KCT's package with the same changes from
that once KCT has a new version, we can delete the file and depend back
on to the KCT-KSP module.
I've also updated Room to use the new provider API for registering its
processor.
Bug: 160322705
Test: room tests
Change-Id: I03b73303d0559dd1034e467971843c4c85accc53
M buildSrc/build_dependencies.gradle
M room/compiler-processing-testing/build.gradle
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
A room/compiler-processing-testing/src/main/java/com/tschuchort/compiletesting/KspKotlinCompileTesting.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingStepTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
M room/compiler/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessorProvider
ap...@google.com <ap...@google.com> #131
Project: platform/frameworks/support
Branch: androidx-main
commit 16b7a8329e9d3fba243308dc6d810bbfea54fd82
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 23 17:22:26 2021
Model top level functions and properties
This CL adds support for top level functions/properties in KSP.
KSP does not generate synthetic class for files that include top
level methods or properites.
see:https://github.com/google/ksp/issues/396
For XProcessing, i decided the follow through and not create a fake
XTypeElement for them. Instead, this CL introduces a new XElement
type called XMemberContainer. This interface defines two properties:
className:ClassName and type:XType.
ClassName is mandatory whereas XType is optional (to denote that it
does not have an accessible type in KSP but ClassName can be accessed
for code generation).
This was enough to make the rest of the codebase happy.
For Room, I also removed `XMethod/FieldElement.requireEnclosingTypeElement`
as we didn't really need it once we have className.
XMemberContainer might be extended to provide access to more declarations
but we don't yet have a use case for that.
By not modeling fake XTypeElements, we avoid creating a fake XType for it,
which prevents lots of pitfalls since the type does not really exist in
kotlin world.
Bug: 160322705
Fixes: 184526463
Test: XRoundEnvTest, TopLevelMembersTest
Change-Id: Iea60d2587c9373a96a56f7721d5ea2782b66ba2e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/MethodCollector.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XFieldElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodType.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/TopLevelMembersTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XRoundEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Constructor.kt
https://android-review.googlesource.com/1684749
Branch: androidx-main
commit 16b7a8329e9d3fba243308dc6d810bbfea54fd82
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Apr 23 17:22:26 2021
Model top level functions and properties
This CL adds support for top level functions/properties in KSP.
KSP does not generate synthetic class for files that include top
level methods or properites.
see:
For XProcessing, i decided the follow through and not create a fake
XTypeElement for them. Instead, this CL introduces a new XElement
type called XMemberContainer. This interface defines two properties:
className:ClassName and type:XType.
ClassName is mandatory whereas XType is optional (to denote that it
does not have an accessible type in KSP but ClassName can be accessed
for code generation).
This was enough to make the rest of the codebase happy.
For Room, I also removed `XMethod/FieldElement.requireEnclosingTypeElement`
as we didn't really need it once we have className.
XMemberContainer might be extended to provide access to more declarations
but we don't yet have a use case for that.
By not modeling fake XTypeElements, we avoid creating a fake XType for it,
which prevents lots of pitfalls since the type does not really exist in
kotlin world.
Bug: 160322705
Fixes: 184526463
Test: XRoundEnvTest, TopLevelMembersTest
Change-Id: Iea60d2587c9373a96a56f7721d5ea2782b66ba2e
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/MethodCollector.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XFieldElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/XMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSDeclarationExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotated.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodType.kt
A room/compiler-processing/src/test/java/androidx/room/compiler/processing/TopLevelMembersTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XRoundEnvTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/util/XTestInvocationExt.kt
M room/compiler/src/main/kotlin/androidx/room/processor/DatabaseProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/TableEntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/vo/Constructor.kt
ap...@google.com <ap...@google.com> #132
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit dd924d7a6a867240a0cb0fd6d00aa2dc91024bdc
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 20 09:03:22 2021
Prebuilts for ksp alpha 10 and KCT 1.4 update
import_maven_artifacts.py -n com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.0-alpha10
import_maven_artifacts.py -n com.google.devtools.ksp:symbol-processing:1.5.0-alpha10
import_maven_artifacts.py -n com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.0
Bug: 160322705
Test: room tests
Change-Id: Ib1352fd116c147c2d5604e713bb60c2d935bfc84
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom.sha1
M com/squareup/okio/okio-metadata/2.10.0/LICENSE
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom.sha1
M com/squareup/okio/okio/2.10.0/LICENSE
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar.md5
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar.sha1
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom.md5
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom.sha1
A io/github/classgraph/classgraph/4.8.105/LICENSE
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar.sha1
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar.sha1
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom.sha1
https://android-review.googlesource.com/1713930
Branch: androidx-main
commit dd924d7a6a867240a0cb0fd6d00aa2dc91024bdc
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 20 09:03:22 2021
Prebuilts for ksp alpha 10 and KCT 1.4 update
import_maven_artifacts.py -n com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.0-alpha10
import_maven_artifacts.py -n com.google.devtools.ksp:symbol-processing:1.5.0-alpha10
import_maven_artifacts.py -n com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.0
Bug: 160322705
Test: room tests
Change-Id: Ib1352fd116c147c2d5604e713bb60c2d935bfc84
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing-ksp/1.4.0/kotlin-compile-testing-ksp-1.4.0.pom.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/LICENSE
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0-sources.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.jar.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.module.sha1
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom.md5
A com/github/tschuchortdev/kotlin-compile-testing/1.4.0/kotlin-compile-testing-1.4.0.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha09/symbol-processing-api-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.0-1.0.0-alpha10/symbol-processing-api-1.5.0-1.0.0-alpha10.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha09/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.0-1.0.0-alpha10/symbol-processing-gradle-plugin-1.5.0-1.0.0-alpha10.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha09/symbol-processing-1.5.0-1.0.0-alpha09.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/LICENSE
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom.md5
A com/google/devtools/ksp/symbol-processing/1.5.0-1.0.0-alpha10/symbol-processing-1.5.0-1.0.0-alpha10.pom.sha1
M com/squareup/okio/okio-metadata/2.10.0/LICENSE
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0-sources.jar.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.jar.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.module.sha1
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom.md5
A com/squareup/okio/okio-metadata/2.10.0/okio-metadata-2.10.0.pom.sha1
M com/squareup/okio/okio/2.10.0/LICENSE
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar.md5
A com/squareup/okio/okio/2.10.0/okio-2.10.0-sources.jar.sha1
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom.md5
A com/squareup/okio/okio/2.10.0/okio-2.10.0.pom.sha1
A io/github/classgraph/classgraph/4.8.105/LICENSE
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105-sources.jar.sha1
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.jar.sha1
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom.md5
A io/github/classgraph/classgraph/4.8.105/classgraph-4.8.105.pom.sha1
ap...@google.com <ap...@google.com> #133
Project: platform/frameworks/support
Branch: androidx-main
commit 5cabf8fcc3a368002c8546047b70b3506733d9ad
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 20 12:06:55 2021
Update KSP to alpha10, KCT to 1.4
Update XProcessing to take advantage of the new ORIGIN types:
https://github.com/google/ksp/issues/375
Added support for doc comments in KSP
https://github.com/google/ksp/issues/392
Added support for fun interfaces in KSP
https://github.com/google/ksp/issues/393
Removed custom KCT workaround with the update to KCT 1.4.0
With this update we also get access to the containing class declaration
for compiled top level kotlin functions. That change is more complicated
so added a bug for that as a followup: b/188822146 .
We also now have access to a type mapper between java and kotlin classes
but it is not working as we expect so will skip that update for now.
Specifically, it does not support primitives and it also maps java
classes to their immutable counterparts (e.g. java.util.List to
kotlin.collections.List instead of MutableList)
Last but not least, also updated incremental processing test to specify
room version explicitly instead of +. It becomes a problem in playground
where androidx.snapshot repository has a higher version value (SNAPSHOT)
then local publish task.
Bug: 160322705
Bug: 188822146
Test: room tests
Change-Id: I0bc03621bc0727fc94fba58c7c4e2cdbb254424d
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M gradle/libs.versions.toml
M room/compiler-processing-testing/build.gradle
D room/compiler-processing-testing/src/main/java/com/tschuchort/compiletesting/KspKotlinCompileTesting.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TopLevelMembersTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt
https://android-review.googlesource.com/1714392
Branch: androidx-main
commit 5cabf8fcc3a368002c8546047b70b3506733d9ad
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 20 12:06:55 2021
Update KSP to alpha10, KCT to 1.4
Update XProcessing to take advantage of the new ORIGIN types:
Added support for doc comments in KSP
Added support for fun interfaces in KSP
Removed custom KCT workaround with the update to KCT 1.4.0
With this update we also get access to the containing class declaration
for compiled top level kotlin functions. That change is more complicated
so added a bug for that as a followup:
We also now have access to a type mapper between java and kotlin classes
but it is not working as we expect so will skip that update for now.
Specifically, it does not support primitives and it also maps java
classes to their immutable counterparts (e.g. java.util.List to
kotlin.collections.List instead of MutableList)
Last but not least, also updated incremental processing test to specify
room version explicitly instead of +. It becomes a problem in playground
where androidx.snapshot repository has a higher version value (SNAPSHOT)
then local publish task.
Bug: 160322705
Bug: 188822146
Test: room tests
Change-Id: I0bc03621bc0727fc94fba58c7c4e2cdbb254424d
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M gradle/libs.versions.toml
M room/compiler-processing-testing/build.gradle
D room/compiler-processing-testing/src/main/java/com/tschuchort/compiletesting/KspKotlinCompileTesting.kt
M room/compiler-processing/build.gradle
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSTypeReferenceExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspHasModifiers.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/TopLevelMembersTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XTypeElementTest.kt
M room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt
ap...@google.com <ap...@google.com> #134
Project: platform/frameworks/support
Branch: androidx-main
commit 1ecb11aef121d1970384250c8369a5edaa96dc73
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 27 11:23:43 2021
Update KSP to beta01 and KCT to 1.4.1
* KSP beta01 introduces an api change in function overrides where it can
handle cases when a java method overrides a kotlin property. This also
means the return type of `KSFunction.findOverridee` is a KSDeclaration
instead of KSFunction. We use this when resolving types so I've updated
Room to expect a property declaration as well. It was also affecting
override variance resolution but that code only ever runs for kotlin
sources so it was not necessary to handle property overrides there.
* Adding more tests to java overriding kotlin property revelated another
bug where we were setting an invalid parameter name for property setter
values. (<set-?>). That name is valid in byte code but not in source
code. I've updated JavacVariableElement and KotlinSynthetic to use a
sanitized name instead. We could've done it while generating code but
since many other things refer to these parameters, it is safer to do it
while parsing parameters and hide the detail from the rest of the
processing.
* One of the new tests I've added hit a bug in KSP that revelated after
KSP fixed "java method overrides kotlin property" case. Added a try
catch helper for it:
https://github.com/google/ksp/issues/462
* Previously, when listing methods in a kotlin class, we always listed
setters before getters which made the source code match tests slightly
more difficult. Changed it to keep setter/getter of a property together
in the methods list.
* KSP changed its processor provider interface, updated Room
accordingly. (it now receives 1 container object instead of multiple
parameters)
Bug: 160322705
Test: existing tests + more tests for overrides
Change-Id: I92ec446b59cdeccc37bd91308d1a20acf3fe959a
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M gradle/libs.versions.toml
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodParameter.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSFunctionExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/util/NamingUtils.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/FallbackLocationInformationTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingStepTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
https://android-review.googlesource.com/1719262
Branch: androidx-main
commit 1ecb11aef121d1970384250c8369a5edaa96dc73
Author: Yigit Boyar <yboyar@google.com>
Date: Thu May 27 11:23:43 2021
Update KSP to beta01 and KCT to 1.4.1
* KSP beta01 introduces an api change in function overrides where it can
handle cases when a java method overrides a kotlin property. This also
means the return type of `KSFunction.findOverridee` is a KSDeclaration
instead of KSFunction. We use this when resolving types so I've updated
Room to expect a property declaration as well. It was also affecting
override variance resolution but that code only ever runs for kotlin
sources so it was not necessary to handle property overrides there.
* Adding more tests to java overriding kotlin property revelated another
bug where we were setting an invalid parameter name for property setter
values. (<set-?>). That name is valid in byte code but not in source
code. I've updated JavacVariableElement and KotlinSynthetic to use a
sanitized name instead. We could've done it while generating code but
since many other things refer to these parameters, it is safer to do it
while parsing parameters and hide the detail from the rest of the
processing.
* One of the new tests I've added hit a bug in KSP that revelated after
KSP fixed "java method overrides kotlin property" case. Added a try
catch helper for it:
* Previously, when listing methods in a kotlin class, we always listed
setters before getters which made the source code match tests slightly
more difficult. Changed it to keep setter/getter of a property together
in the methods list.
* KSP changed its processor provider interface, updated Room
accordingly. (it now receives 1 container object instead of multiple
parameters)
Bug: 160322705
Test: existing tests + more tests for overrides
Change-Id: I92ec446b59cdeccc37bd91308d1a20acf3fe959a
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
M gradle/libs.versions.toml
M room/compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodParameter.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSFunctionExt.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodType.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/OverrideVarianceResolver.kt
M room/compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
A room/compiler-processing/src/main/java/androidx/room/compiler/processing/util/NamingUtils.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/FallbackLocationInformationTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingStepTest.kt
M room/compiler/src/main/kotlin/androidx/room/RoomKspProcessor.kt
ap...@google.com <ap...@google.com> #135
Project: platform/frameworks/support
Branch: androidx-main
commit 23d0d5a2e873e33aabafc05536554bc547c86861
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:01:42 2021
Enable XProcessing tests for types in compiled annotations
This CL re-neables tests which read types from annotations
coming from compiled code since the related KSP issue is
fixed.
Issue:https://github.com/google/ksp/issues/356
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: I790b79175581c9d60fb6400b23f6f16f07ca717c
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
https://android-review.googlesource.com/1802698
Branch: androidx-main
commit 23d0d5a2e873e33aabafc05536554bc547c86861
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:01:42 2021
Enable XProcessing tests for types in compiled annotations
This CL re-neables tests which read types from annotations
coming from compiled code since the related KSP issue is
fixed.
Issue:
Bug: 160322705
Test: XAnnotationBoxTest
Change-Id: I790b79175581c9d60fb6400b23f6f16f07ca717c
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
ap...@google.com <ap...@google.com> #136
Project: platform/frameworks/support
Branch: androidx-main
commit 6cfb4cfabba36a57b3e655a03a82e31d264cb0f9
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:33:02 2021
Remove workaround for getJvmName on enum values
The related issue is now fixed.
Issue:https://github.com/google/ksp/issues/240
Bug: 160322705
Test: existing tests pass without the workaround
Change-Id: I30d509f44a3c48e9da62884d00805315af5515cf
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
https://android-review.googlesource.com/1802700
Branch: androidx-main
commit 6cfb4cfabba36a57b3e655a03a82e31d264cb0f9
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:33:02 2021
Remove workaround for getJvmName on enum values
The related issue is now fixed.
Issue:
Bug: 160322705
Test: existing tests pass without the workaround
Change-Id: I30d509f44a3c48e9da62884d00805315af5515cf
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/ResolverExt.kt
ap...@google.com <ap...@google.com> #137
Project: platform/frameworks/support
Branch: androidx-main
commit fa49dd270c43ab697be3f1adadc7ac1f6f89df7f
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:23:47 2021
Remove asMemberOf workaround in XProcessing
The KSP bug around java overriding kotlin properties is now
fixed hence we don't need the workaround anymore.
Issue:https://github.com/google/ksp/issues/462
Bug: 160322705
Test: existing tests pass without the workaround
Change-Id: I36b0b0b83f314738d4decc5d8acccb71aef50b20
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
https://android-review.googlesource.com/1802699
Branch: androidx-main
commit fa49dd270c43ab697be3f1adadc7ac1f6f89df7f
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Aug 20 00:23:47 2021
Remove asMemberOf workaround in XProcessing
The KSP bug around java overriding kotlin properties is now
fixed hence we don't need the workaround anymore.
Issue:
Bug: 160322705
Test: existing tests pass without the workaround
Change-Id: I36b0b0b83f314738d4decc5d8acccb71aef50b20
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAsMemberOf.kt
ap...@google.com <ap...@google.com> #138
Project: platform/prebuilts/androidx/external
Branch: androidx-main
commit d4b5d3d1c72efa34c28917a0d9cc791da0165f52
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 08 16:58:00 2021
KSP prebuilts for 1.0.0
Bug: 160322705
Test: existing room tests
Change-Id: I805a486cb5b51fe165d7684ebaf31c0f7b1f8e2b
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/LICENSE
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom.sha1
https://android-review.googlesource.com/1821954
Branch: androidx-main
commit d4b5d3d1c72efa34c28917a0d9cc791da0165f52
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 08 16:58:00 2021
KSP prebuilts for 1.0.0
Bug: 160322705
Test: existing room tests
Change-Id: I805a486cb5b51fe165d7684ebaf31c0f7b1f8e2b
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.21-1.0.0-beta07/symbol-processing-api-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.module.sha1
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0-beta08/symbol-processing-api-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/LICENSE
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.jar.sha1
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.module.sha1
M com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing-api/1.5.30-1.0.0/symbol-processing-api-1.5.30-1.0.0.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.21-1.0.0-beta07/symbol-processing-gradle-plugin-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.module.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.module.sha1
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0-beta08/symbol-processing-gradle-plugin-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/LICENSE
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0-sources.jar.sha1
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.jar.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.module.sha1
M com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing-gradle-plugin/1.5.30-1.0.0/symbol-processing-gradle-plugin-1.5.30-1.0.0.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/LICENSE
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.21-1.0.0-beta07/symbol-processing-1.5.21-1.0.0-beta07.pom.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08-sources.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08-sources.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.jar.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.jar.sha1
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.pom.md5
D com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0-beta08/symbol-processing-1.5.30-1.0.0-beta08.pom.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/LICENSE
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0-sources.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.jar.sha1
M com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom.md5
A com/google/devtools/ksp/symbol-processing/1.5.30-1.0.0/symbol-processing-1.5.30-1.0.0.pom.sha1
ap...@google.com <ap...@google.com> #139
Project: platform/frameworks/support
Branch: androidx-main
commit 71c633f602697fc0fee0c0ff20727ffb9e6c8feb
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 08 12:22:21 2021
Update KSP to 1.0.0
I've not gone through resolved issues yet, will do them as followups.
Only updated the tests forhttps://github.com/google/ksp/issues/159
since the test was working around it and it is now fixed.
Going to stable asap is important for other KSP users (so we don't
conflict with other processors).
Bug: 160322705
Test: existing tests
Change-Id: I6f0684bda98afb04f54be8313cbf041cebc25d32
M gradle/libs.versions.toml
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
https://android-review.googlesource.com/1822394
Branch: androidx-main
commit 71c633f602697fc0fee0c0ff20727ffb9e6c8feb
Author: Yigit Boyar <yboyar@google.com>
Date: Wed Sep 08 12:22:21 2021
Update KSP to 1.0.0
I've not gone through resolved issues yet, will do them as followups.
Only updated the tests for
since the test was working around it and it is now fixed.
Going to stable asap is important for other KSP users (so we don't
conflict with other processors).
Bug: 160322705
Test: existing tests
Change-Id: I6f0684bda98afb04f54be8313cbf041cebc25d32
M gradle/libs.versions.toml
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspFieldElementTest.kt
ap...@google.com <ap...@google.com> #140
Project: platform/frameworks/support
Branch: androidx-main
commit 9b8be2490d381f6b31870dfc88f413d733ab729a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 20 16:08:01 2021
Check nullability while reporting duplicate converters
This CL improves duplicate converter detection logic to handle
nullability for KSP.
For javac, this didn't matter since String? is equal to String but in
KSP we have the right type information hence we should take it into
account.
Bug: 160322705
Test: CustomConverterProcessorTest
Change-Id: I402bdef532f94c17b3db24f8726b78cb62bef42e
M room/room-compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/room-compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
https://android-review.googlesource.com/1830997
Branch: androidx-main
commit 9b8be2490d381f6b31870dfc88f413d733ab729a
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 20 16:08:01 2021
Check nullability while reporting duplicate converters
This CL improves duplicate converter detection logic to handle
nullability for KSP.
For javac, this didn't matter since String? is equal to String but in
KSP we have the right type information hence we should take it into
account.
Bug: 160322705
Test: CustomConverterProcessorTest
Change-Id: I402bdef532f94c17b3db24f8726b78cb62bef42e
M room/room-compiler/src/main/kotlin/androidx/room/processor/CustomConverterProcessor.kt
M room/room-compiler/src/test/kotlin/androidx/room/processor/CustomConverterProcessorTest.kt
ap...@google.com <ap...@google.com> #141
Project: platform/frameworks/support
Branch: androidx-main
commit 91cd8fa13f8c6b610ae323f5ef840ed43d59fb1a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 21 15:02:08 2021
Remove boxed non-null primitives from KSP
When finding XType for column types, previously, we've returned both
nullable and non-null boxed types in KSP. This is not necessary as
in KSP, a primitive is equal to the non-null boxed value.
This CL is extracted from the null-aware type converter store prototype.
Bug: 160322705
Test: SQLTypeAffinityTest
Change-Id: I4b9537ff4618a59dd48991b1937f8ae229ab02bb
M room/room-compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
https://android-review.googlesource.com/1832954
Branch: androidx-main
commit 91cd8fa13f8c6b610ae323f5ef840ed43d59fb1a
Author: Yigit Boyar <yboyar@google.com>
Date: Tue Sep 21 15:02:08 2021
Remove boxed non-null primitives from KSP
When finding XType for column types, previously, we've returned both
nullable and non-null boxed types in KSP. This is not necessary as
in KSP, a primitive is equal to the non-null boxed value.
This CL is extracted from the null-aware type converter store prototype.
Bug: 160322705
Test: SQLTypeAffinityTest
Change-Id: I4b9537ff4618a59dd48991b1937f8ae229ab02bb
M room/room-compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
ap...@google.com <ap...@google.com> #142
Project: platform/frameworks/support
Branch: androidx-main
commit 87d9206631cc7d7a5e97e2d9d8fd8e26466b7da6
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 20 21:51:37 2021
Update TypeConverters API to be more explicit
Previous TypeConverters API did a shortest path from
N types to N types. In practice, it is always called
with 1 -> N (into statement), N -> 1 (from cursor) or
1 -> 1 (when we know both types).
This CL updates the API to match the usage patter.
I've not changed the implementation to avoid destabilization
but the null aware converter will have different heuristic based
on the call reason.
Bug: 160322705
Test: Existing tests
Change-Id: Ice3cfbd305a2329e8380486dbb0281d7bb799447
M room/room-compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/room-compiler/src/test/kotlin/androidx/room/solver/TypeConverterStoreTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/solver/TypeConverterStore.kt
M room/room-compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/room-compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
https://android-review.googlesource.com/1832123
Branch: androidx-main
commit 87d9206631cc7d7a5e97e2d9d8fd8e26466b7da6
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Sep 20 21:51:37 2021
Update TypeConverters API to be more explicit
Previous TypeConverters API did a shortest path from
N types to N types. In practice, it is always called
with 1 -> N (into statement), N -> 1 (from cursor) or
1 -> 1 (when we know both types).
This CL updates the API to match the usage patter.
I've not changed the implementation to avoid destabilization
but the null aware converter will have different heuristic based
on the call reason.
Bug: 160322705
Test: Existing tests
Change-Id: Ice3cfbd305a2329e8380486dbb0281d7bb799447
M room/room-compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/room-compiler/src/test/kotlin/androidx/room/solver/TypeConverterStoreTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/solver/TypeConverterStore.kt
M room/room-compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/room-compiler/src/test/kotlin/androidx/room/parser/SQLTypeAffinityTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/parser/SqlParser.kt
ap...@google.com <ap...@google.com> #143
Project: platform/frameworks/support
Branch: androidx-main
commit 7d7e1452715f412087905256977069b786a70b8d
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Tue Oct 19 17:50:25 2021
Rename hasAnyOf() to hasAnyAnnotation()
Bug: 160322705
Test: refactoring CL. Existing unit tests still pass.
Change-Id: Ifdf056bee04104b4661e42a6f291d6674a37f202
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegate.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
https://android-review.googlesource.com/1862800
Branch: androidx-main
commit 7d7e1452715f412087905256977069b786a70b8d
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Tue Oct 19 17:50:25 2021
Rename hasAnyOf() to hasAnyAnnotation()
Bug: 160322705
Test: refactoring CL. Existing unit tests still pass.
Change-Id: Ifdf056bee04104b4661e42a6f291d6674a37f202
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationBoxTest.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotated.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/room-compiler/src/main/kotlin/androidx/room/processor/autovalue/AutoValuePojoProcessorDelegate.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
ap...@google.com <ap...@google.com> #144
Project: platform/frameworks/support
Branch: androidx-main
commit fb6f35b6e7232096a5f5d7a66ee2b13343fed5a1
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Wed Oct 20 15:52:28 2021
Add XAnnotated::hasAllAnnotations
Bug: 160322705
Test: Added a new test XElementTest::hasAllAnnotations.
Change-Id: I1b066bfed530f8bca55fbffeade5de3fd3de87fd
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
https://android-review.googlesource.com/1864679
Branch: androidx-main
commit fb6f35b6e7232096a5f5d7a66ee2b13343fed5a1
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Wed Oct 20 15:52:28 2021
Add XAnnotated::hasAllAnnotations
Bug: 160322705
Test: Added a new test XElementTest::hasAllAnnotations.
Change-Id: I1b066bfed530f8bca55fbffeade5de3fd3de87fd
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
ap...@google.com <ap...@google.com> #145
Project: platform/frameworks/support
Branch: androidx-main
commit c579bfe41fd9f94ae2da3ef349333129592d8357
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 15 22:22:03 2021
Fix order of fields for constructor parameters
This CL works around a KSP bug where it returns the properties for
constructor arguments after regular properties. Both in KAPT and
.class files, they are listed first.
This matters for Room since it sets the order of columns in the
database table.
Note that same problem exists for getters setters but that is not
as important for room so we might tackle it later.
I've also updated the field ordering test to run with sources to
catch these cases.
Bug: 160322705
Test: KspClassFileUtilityTest
Change-Id: I2b3bebbc8a0d4b5556db09599310572ca519b5b9
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
https://android-review.googlesource.com/1893383
Branch: androidx-main
commit c579bfe41fd9f94ae2da3ef349333129592d8357
Author: Yigit Boyar <yboyar@google.com>
Date: Mon Nov 15 22:22:03 2021
Fix order of fields for constructor parameters
This CL works around a KSP bug where it returns the properties for
constructor arguments after regular properties. Both in KAPT and
.class files, they are listed first.
This matters for Room since it sets the order of columns in the
database table.
Note that same problem exists for getters setters but that is not
as important for room so we might tackle it later.
I've also updated the field ordering test to run with sources to
catch these cases.
Bug: 160322705
Test: KspClassFileUtilityTest
Change-Id: I2b3bebbc8a0d4b5556db09599310572ca519b5b9
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/KspClassFileUtilityTest.kt
ap...@google.com <ap...@google.com> #146
Project: platform/frameworks/support
Branch: androidx-main
commit ad0baf7c1f1a03d19b8229ac81c9a98712920574
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Tue Nov 09 13:02:21 2021
Add XAnnotated.getAnnotationsAnnotatedWith()
Bug: 160322705
Test: XAnnotationTest.getAnnotationsAnnotatedWith
Change-Id: I17b402349a5924a101d882d735c71c1e193a64af
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
https://android-review.googlesource.com/1885190
Branch: androidx-main
commit ad0baf7c1f1a03d19b8229ac81c9a98712920574
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Tue Nov 09 13:02:21 2021
Add XAnnotated.getAnnotationsAnnotatedWith()
Bug: 160322705
Test: XAnnotationTest.getAnnotationsAnnotatedWith
Change-Id: I17b402349a5924a101d882d735c71c1e193a64af
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
ap...@google.com <ap...@google.com> #147
Project: platform/frameworks/support
Branch: androidx-main
commit eafda9c3c098e574cfa6eb209b2c9eeb449730e2
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Mon Oct 25 14:08:48 2021
Add collection overloads
Bug: 160322705
Test: XElementTest::hasAllAnnotations, XElementTest::hasAnyAnnotations
Change-Id: I64f7d9235b1a6f0121a4c2041c08842cb7f4c7ca
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
https://android-review.googlesource.com/1870620
Branch: androidx-main
commit eafda9c3c098e574cfa6eb209b2c9eeb449730e2
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Mon Oct 25 14:08:48 2021
Add collection overloads
Bug: 160322705
Test: XElementTest::hasAllAnnotations, XElementTest::hasAnyAnnotations
Change-Id: I64f7d9235b1a6f0121a4c2041c08842cb7f4c7ca
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotated.kt
ap...@google.com <ap...@google.com> #148
Project: platform/frameworks/support
Branch: androidx-main
commit 821535e5213c68f19bd31a0e7d7befe28196d08e
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Wed Nov 24 17:02:40 2021
Consolidate behaviour of receiver parameter between KAPT and KSP
This change adds a synthetic receiver parameter to KSP method elements that are extension functions. Similar to suspend functions the synthesised element makes it so that KAPT and KSP parameters are the same. This also fixes an issue in Javac / KAPT where the receiver parameter name was returning the next parameter name from the Kotlin metadata because metadata does not contain the receiver and there was an off by one error.
Bug: 160322705
Bug: 207676234
Test: XExecutableElementTest
Change-Id: I1b71df1ed6ae7dd14d012e0c12d9b28043a7847e
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XSuspendMethodType.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticReceiverParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/KotlinClassMetadataUtils.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
https://android-review.googlesource.com/1902092
Branch: androidx-main
commit 821535e5213c68f19bd31a0e7d7befe28196d08e
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Wed Nov 24 17:02:40 2021
Consolidate behaviour of receiver parameter between KAPT and KSP
This change adds a synthetic receiver parameter to KSP method elements that are extension functions. Similar to suspend functions the synthesised element makes it so that KAPT and KSP parameters are the same. This also fixes an issue in Javac / KAPT where the receiver parameter name was returning the next parameter name from the Kotlin metadata because metadata does not contain the receiver and there was an off by one error.
Bug: 160322705
Bug: 207676234
Test: XExecutableElementTest
Change-Id: I1b71df1ed6ae7dd14d012e0c12d9b28043a7847e
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XSuspendMethodType.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticReceiverParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/KotlinClassMetadataUtils.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
ap...@google.com <ap...@google.com> #149
Project: platform/frameworks/support
Branch: androidx-main
commit f9ec07e9f6de5c1917fc3371aa9a2638a5bdc1ab
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Fri Nov 12 16:56:19 2021
Add MethodSpecHelper.overriding()
Bug: 160322705
Test: MethodSpecHelperTest
Change-Id: I3010c699d9147cdac9adb9d6f42c3b047b0b1dac
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/util/ParameterizedHelper.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/util/ParameterizedHelperTest.kt
https://android-review.googlesource.com/1890542
Branch: androidx-main
commit f9ec07e9f6de5c1917fc3371aa9a2638a5bdc1ab
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Fri Nov 12 16:56:19 2021
Add MethodSpecHelper.overriding()
Bug: 160322705
Test: MethodSpecHelperTest
Change-Id: I3010c699d9147cdac9adb9d6f42c3b047b0b1dac
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/util/ParameterizedHelper.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/MethodSpecHelperTest.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/util/ParameterizedHelperTest.kt
ap...@google.com <ap...@google.com> #150
Project: platform/frameworks/support
Branch: androidx-main
commit 6bf2bf086fcfde1f96f7c9cb02b1f0d4590b7023
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Jan 06 11:05:55 2022
Add a new API to configure XProcessingEnv behavior
This CL adds a new API that lets XProcessing clients to configure its
behavior.
Currently, it is not used for any functionality but I've added one
argument that we'll need to be able to set the class hierarchy
properly.
For KSP processors, they need to pass it in the constructor.
For Javac processors, they need to pass a lambda to configure it. This
is done to allow changing configuration based on options, which are not
available at the construction time of the processor for javac.
Also added a new API for testing to load a configuration provider.
If the configuration for an annotation processor does not match the
default, it would be very inconvenient to provide it into every single
runProcessorTest call. To make it easier, we also support loading a
provider implementation via the service locator
(XProcessingEnvironmentTestConfigurationProvider).
Bug: 160322705
Test: XProcessingEnvConfigTest
Change-Id: I32815e6589ca3b41fd2b4dba75646d3a94599704
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnvConfig.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
A room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/LoadFromDefaultEnvironmentConfigurationProviderTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspBasicAnnotationProcessor.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvConfigTest.kt
A room/room-compiler-processing-testing/src/test/resources/META-INF/services/androidx.room.compiler.processing.XProcessingEnvironmentTestConfigProvider
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacBasicAnnotationProcessor.kt
A room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/XProcessingEnvironmentTestConfigProvider.kt
A room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestDefaultEnvironmentConfigProvider.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
https://android-review.googlesource.com/1940193
Branch: androidx-main
commit 6bf2bf086fcfde1f96f7c9cb02b1f0d4590b7023
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Jan 06 11:05:55 2022
Add a new API to configure XProcessingEnv behavior
This CL adds a new API that lets XProcessing clients to configure its
behavior.
Currently, it is not used for any functionality but I've added one
argument that we'll need to be able to set the class hierarchy
properly.
For KSP processors, they need to pass it in the constructor.
For Javac processors, they need to pass a lambda to configure it. This
is done to allow changing configuration based on options, which are not
available at the construction time of the processor for javac.
Also added a new API for testing to load a configuration provider.
If the configuration for an annotation processor does not match the
default, it would be very inconvenient to provide it into every single
runProcessorTest call. To make it easier, we also support loading a
provider implementation via the service locator
(XProcessingEnvironmentTestConfigurationProvider).
Bug: 160322705
Test: XProcessingEnvConfigTest
Change-Id: I32815e6589ca3b41fd2b4dba75646d3a94599704
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnvConfig.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticJavacProcessor.kt
A room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/LoadFromDefaultEnvironmentConfigurationProviderTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspBasicAnnotationProcessor.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/ProcessorTestExt.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KaptCompilationTestRunner.kt
M room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestRunnerTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspProcessingEnv.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/CompilationTestRunner.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnv.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XProcessingEnvConfigTest.kt
A room/room-compiler-processing-testing/src/test/resources/META-INF/services/androidx.room.compiler.processing.XProcessingEnvironmentTestConfigProvider
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacProcessingEnv.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacBasicAnnotationProcessor.kt
A room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/XProcessingEnvironmentTestConfigProvider.kt
A room/room-compiler-processing-testing/src/test/java/androidx/room/compiler/processing/util/TestDefaultEnvironmentConfigProvider.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/KspCompilationTestRunner.kt
M room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/SyntheticKspProcessor.kt
ap...@google.com <ap...@google.com> #151
Project: platform/frameworks/support
Branch: androidx-main
commit fc24b52d68bd76c1b2fe828b1ae495a1f09dc20c
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 07 14:58:28 2022
Cache method and field collections
We return a sequence from getAllMethods/Fields methods which includes
possibly expensive computations. This implementation changes them to use
a MemoizedSequnce (mostly taken from KSP source) to avoid recomputing them.
Bug: 160322705
Test: MemoizedSequenceTest
Change-Id: I48376f61d15f5b4cde76610cc7e895898e354441
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/MemoizedSequenceTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/util/MemoizedSequence.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
https://android-review.googlesource.com/1941374
Branch: androidx-main
commit fc24b52d68bd76c1b2fe828b1ae495a1f09dc20c
Author: Yigit Boyar <yboyar@google.com>
Date: Fri Jan 07 14:58:28 2022
Cache method and field collections
We return a sequence from getAllMethods/Fields methods which includes
possibly expensive computations. This implementation changes them to use
a MemoizedSequnce (mostly taken from KSP source) to avoid recomputing them.
Bug: 160322705
Test: MemoizedSequenceTest
Change-Id: I48376f61d15f5b4cde76610cc7e895898e354441
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
A room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/MemoizedSequenceTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
A room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/util/MemoizedSequence.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
ap...@google.com <ap...@google.com> #152
Project: platform/frameworks/support
Branch: androidx-main
commit 349360b832d04be31561b62cc89736b4105409b9
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Thu Jan 13 18:34:38 2022
Add XElement.enclosingElement and XElement.closestMemberContainer
Bug: 160322705, 201308409
Test: XElementTest
Change-Id: If554c953217d69d23825af78e9d2ae0f9ef150d0
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeNamesGoldenTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XRoundEnvTest.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticReceiverParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticFileMemberContainer.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacConstructorElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodParameter.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/DeclarationCollector.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XBasicAnnotationProcessor.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/InternalModifierTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationValue.kt
https://android-review.googlesource.com/1948583
Branch: androidx-main
commit 349360b832d04be31561b62cc89736b4105409b9
Author: Kuan-Ying Chou <kuanyingchou@google.com>
Date: Thu Jan 13 18:34:38 2022
Add XElement.enclosingElement and XElement.closestMemberContainer
Bug: 160322705, 201308409
Test: XElementTest
Change-Id: If554c953217d69d23825af78e9d2ae0f9ef150d0
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/KspTypeNamesGoldenTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFileMemberContainer.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspConstructorElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticPropertyMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspTypeElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XRoundEnvTest.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XExecutableElementTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticReceiverParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticFileMemberContainer.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacConstructorElement.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XElementTest.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspClassFileUtility.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacTypeElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacMethodParameter.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/DeclarationCollector.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacFieldElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspMethodElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/synthetic/KspSyntheticContinuationParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableParameterElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XBasicAnnotationProcessor.kt
M room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/InternalModifierTest.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XEnumEntry.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacExecutableElement.kt
M room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationValue.kt
Description
Add support for compiling w/ KSP to room.