Carter
08/31/2023, 5:00 PMKoModifier.ENUM
but how do I then match the enum values?igor.wojda
08/31/2023, 5:14 PMKonsist.scopeFromProject()
.classes()
.assert { it.text }
Carter
08/31/2023, 5:15 PMCarter
08/31/2023, 5:15 PM@SerialName
so they don’t break with refactoring.igor.wojda
08/31/2023, 5:20 PMigor.wojda
09/01/2023, 4:44 PMKonsist.scopeFromProject()
.classes()
.enumConstants
.assert { it.hasAnnotationsOf(SerialName::class) }
We still need to add support for arguments, but you cna get constant name and annotation.Carter
09/01/2023, 4:48 PMigor.wojda
09/01/2023, 4:54 PM