Fixes https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/395. Javapoet v1.11 and higher store annotations on (parameterized) type objects as well as their underlying raw types (i.e. both on List<Item> and Item) so when rebuilding the type we need to clear both.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Fixes https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/395. Javapoet v1.11 and higher store annotations on (parameterized) type objects as well as their underlying raw types (i.e. both on
List<Item>
andItem
) so when rebuilding the type we need to clear both.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.