I get this strange error ` error: scoping construc...
# kapt
b
I get this strange error
error: scoping construct cannot be annotated with type-use annotation: @org.jetbrains.annotations.NotNull
from kapt on the stubs generated from kaptGenerateStubsKotlin. Basically ever getter in the stubs with a
NotNull
annotation generates this message. I found this SO post: https://stackoverflow.com/questions/21385938/java-scoping-construct-cannot-be-annotated-with-type-use but that does not help me much since I can’t change the generated stubs