Reporting value of constants defined in Java #2524
Labels
bug
feedback: Google
An issue/PR submitted by colleagues at Google, most likely related to the Android API reference docs
Describe the bug
#1489 made it so the
DProperty
generated for a primitive constant defined in Kotlin contains aDefaultValue
with the value of that constant. However, aDProperty
generated for a Java constant (e.g.public static final int FOO = 5;
) does not have aDefaultValue
, so there isn't a way to access the value of the constant.The change specifically used
KotlinSourceElement
. Is it possible to change this so it will work with Java as well?Installation
The text was updated successfully, but these errors were encountered: