@JvmSynthetic doesn't do anything on non-jvm platforms. So the annotated declaration would be generated.
If you want to make some parts of your plugin platform-specific, you should check the targetPlatform property. It's available with session.moduleData.targetPlatform at fir level and with irPluginContext.targetPlatform at it level.