What exactly happens when the @Synchronized annotation is applied to an extension function on Android/JVM? I expected that it would synchronize on the instance of the class, or maybe the class itself, but it appears to be doing neither. Does the annotation do anything in this situation?
P.S.: This is my first post, so I apologize in advance if I’m doing something wrong.