import com.intellij.openapi.vfs.VirtualFileAdapter;
import com.intellij.openapi.vfs.VirtualFileEvent;
import com.intellij.openapi.vfs.VirtualFileManager;
import com.intellij.openapi.vfs.VirtualFileMoveEvent;
public class XtextCompilerComponent extends AbstractProjectComponent {
<BUG>private XtextAutoBuilder autoBuilder;
public XtextCompilerComponent(Project project) {</BUG>
super(project);
autoBuilder = new XtextAutoBuilder(project);
<BUG>EditorFactory.getInstance().getEventMulticaster().addDocumentListener(new DocumentAdapter() {
@Override</BUG>
public void documentChanged(DocumentEvent event) {

import com.intellij.openapi.vfs.VirtualFileAdapter;
import com.intellij.openapi.vfs.VirtualFileEvent;
import com.intellij.openapi.vfs.VirtualFileManager;
import com.intellij.openapi.vfs.VirtualFileMoveEvent;
public class XtextCompilerComponent extends AbstractProjectComponent {
private XtextAutoBuilder autoBuilder;
private VirtualFileAdapter virtualFileListener;
private DocumentAdapter documentListener;
public XtextCompilerComponent(Project project) {
super(project);
autoBuilder = new XtextAutoBuilder(project);
documentListener = new DocumentAdapter() {
@Override
public void documentChanged(DocumentEvent event) {
