Any way to get `constantValue`?
Open
- Dominant language
- Kotlin
- Stars
- 3.5k
- Forks
- 415
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 53
Description
Is there any equivalent API for the `VariableElement.getConstantValue()` method from Java annotation processing?
If no, is there any suggested workaround or timeframe when KSP will support it?
For example from this source code, I'm looking to obtain the "my_string" string:
```
object MyClass {
const val STR = "my_string"
}
```
Contributor guide
Assessment
This issue has not been assessed yet.