3f3f6eb5a8
cinterop tool should add ExperimentalForeignApi to all generated declarations by default. This commit implements adding the annotation. Nested declarations don't get the annotation, because they inherit the opt-in requirement from the enclosing classes implicitly. The annotation is not added to platform libraries, as intended. See previous commits. ^KT-58362