// "Create field 'panel'" "true-preview"
import java.io.*;

class Test {
  Object foo(File container) {
    if (p<caret>anel == null) {
      panel = new File();
      return new File(container, panel.getName());
    }
  }
}