class EditorFactory {

  static EditorFactory getInstance() {
    return null;
  }

  Editor getEditor() {
    return null;
  }
}

class Editor {
}

class Main {
  void stats() {
    Editor e = <caret>
  }

  Editor getEditor() {
    return null;
  }

}