Community
Participate
Working Groups
Start with this: package example.inlineerror; public class Foo { public void foo(Object o) { boolean b = o instanceof String; if (!b) { System.out.println("it wasN'T"); } } } Select the "b" variable and use Refactor...Inline... Your result will be: package com.revere.rp.model.impl; public class Foo { public void foo(Object o) { if (!o instanceof String) { System.out.println("it wasN'T"); } } } ...which will give you a syntax error - it should be !(o instanceof String).
Move to JDT/UI
Good timing! Dirk has already fixed this today :-). *** This bug has been marked as a duplicate of 44419 ***