1 package foo; 2 3 import static foo.JavaTest.*; 4 // here could be the correct import for bar 5 6 public class JavaTest { test()7 public void test() { 8 bar(); 9 } 10 }