Hello, I used the Resolver.getKotlinClassByName extension function to retrieve the class declaration but when I tried to retrieve a nested sealed interface it's not working:
Copy code
sealed interface EntangledSealedInterface {
sealed interface InnerInterface: EntangledSealedInterface {
data object FirstInnerInterface: InnerInterface
data class SecondInnerInterface(val fourthClass: FourthClass): InnerInterface
}
}
->
com.example.EntangledSealedInterface$InnerInterface$SecondInnerInterface returns null. Is there a limitation to nested classes/interfaces or something I'm doing is wrong ?
atlantis210
02/10/2025, 8:22 AM
OK this was my bad. I converted to the toTypeName from kotlinPoet then do reflectionName() on it and the output was