Skip to content

How to know if isNullable from VariableElement? #1596

Answered by ZacSweers
universezy asked this question in Q&A
Discussion options

You must be logged in to vote

You would have to read the kotlin metadata from the enclosing class, find that corresponding KmFunction, and finally the KmParameter on that function.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@ZacSweers
Comment options

@universezy
Comment options

@universezy
Comment options

@ZacSweers
Comment options

@universezy
Comment options

Answer selected by universezy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants