}
private Object[] getTopLevelItems() {
final FileType fileType = myFile.getFileType();
TreeBasedStructureViewBuilder
builder = (TreeBasedStructureViewBuilder)StructureViewBuilder.PROVIDER.getStructureViewBuilder(fileType, myFile, getProject());
final StructureViewModel structureViewModel = builder.createStructureViewModel(getEditor());
Object[] children = structureViewModel.getRoot().getChildren();
structureViewModel.dispose();
return children;
}