I have the following NSToolbarDelegate selector implemented:
@Msg(selector = "toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:", signature = "@:@:@:B")
public Proxy toolbarItemForItemIdentifierwillBeInsertedIntoToolbar(Long toolbar, Proxy itemIdentifier, Long index, Boolean willBeInsertedIntoToolbar) {
...
}
The itemIdentifier should be a NSString (aka Proxy object) but sometimes it is a real java String. This happens at other places too, but I haven't detected a pattern.
I would prefer if every instance of NSString - even something like the NSImageName subclasses/aliases - would be just regular Strings.
Hi there,
I have the following
NSToolbarDelegate
selector implemented:The
itemIdentifier
should be a NSString (aka Proxy object) but sometimes it is a real javaString
. This happens at other places too, but I haven't detected a pattern. I would prefer if every instance ofNSString
- even something like theNSImageName
subclasses/aliases - would be just regular Strings.Any idea how to fix this?