Community
Participate
Working Groups
3.7 M5 ------------------------------------------------------------ package snippet; public class Snippet { void foo(Object a) { if (!(a instanceof String)) { } } } ------------------------------------------------------------ - Select "!(a instanceof String)" - Ctrl+1 - 'Pull Negation up' and 'Pull Negation down' are available, but they do not really do anything here...
Should also not show up for simpler cases like: if (!b) { }
Created attachment 189399 [details] fix+tests
Fixed in HEAD.
Verified for 3.6 M6.