<BUG>return new VirtualFile[]{editor.getFile()};} else if (LangDataKeys.PSI_FILE.is(dataId)) {</BUG><CONTEXT>if (PlatformDataKeys.PROJECT.is(dataId)) {return editor.getProject();} else if (PlatformDataKeys.VIRTUAL_FILE.is(dataId)) {return editor.getFile();} else if (PlatformDataKeys.VIRTUAL_FILE_ARRAY.is(dataId)) {<extra_id_0>return getData(LangDataKeys.PSI_ELEMENT.getName());} else if (LangDataKeys.PSI_ELEMENT.is(dataId)) {VirtualFile file = editor.getFile();</CONTEXT>
final VirtualFile file = editor.getFile();return file != null ? new VirtualFile[]{file} : null;} else if (LangDataKeys.PSI_FILE.is(dataId)) {