What steps will reproduce the problem?
1. Create the example class below
2. Press Ctrl+Shift+i , the imports for all the classes will be added
3. Press Ctrl+Shift+i again , the imports for the classes in
importsNOTRecognized() will be removed
Example Class:
public class Sandbox {
public void importsRecognized() {
new FileInputStream(null);
new HashMap();
}
@Synchronized
public void importsNOTRecognized() {
new ArrayList();
new Socket();
}
}
What is the expected output? What do you see instead?
All imports, including ones inside methods marked @Synchronized be listed all
the time
What version of the product are you using? On what operating system?
0.11.6, Netbeans 7.2 (fully updated), Windows 8
Original issue reported on code.google.com by Lord.Qua...@gmail.com on 11 Jan 2013 at 7:17
Original issue reported on code.google.com by
Lord.Qua...@gmail.com
on 11 Jan 2013 at 7:17