Toshihiro Nakamura
10/24/2024, 8:41 AMSymbolProcessor
does not recognize annotations that contain backticks in the package name. For example, consider the following annotation:
@`org.komapper.annotation`.KomapperEntity
data class Employee(val id: Int)
The ``org.komapper.annotation`.KomapperEntity` annotation is recognized by the SymbolProcessor
in version 2.0.21-1.0.25, but it is not recognized in version 2.0.21-1.0.26.Ting-Yuan Huang
11/05/2024, 9:06 PMResolver.getSymbolsWithAnnotation
seems working fine: https://github.com/google/ksp/compare/main...ting-yuan:ksp:backticksToshihiro Nakamura
11/05/2024, 11:27 PMResolver.getSymbolsWithAnnotation
does not return the correct values. In other words, it returns a sequence that does not contain the expected symbols.
Let me know if you need a minimal reproducible project; I’ll try to create one.Ting-Yuan Huang
11/06/2024, 12:00 AMToshihiro Nakamura
11/06/2024, 1:40 PMTing-Yuan Huang
11/07/2024, 8:09 PMToshihiro Nakamura
11/07/2024, 11:01 PMexample
.Anno` instead of `@`com.example`.Anno`.