It appears to have to do with the actual code in the function. This is the real code:
myApp.some.name.space.PropertiesSheet.prototype.callHandler = function(handler)
if (typeof handler === 'function')
return handler.apply(this, Array.prototype.slice.call(arguments, 1));
Removing all but the first argument to the apply() call removes the pin icon. Fas as I know, the original is valid syntax, and it does work, so I'm at a loss to understand what IDEA is trying to tell me, and I havne't found anything relevant in the docs.
I'm on 11.1, version 117.499, if that matters.
Thanks in advance,