FileStatus () { if (myTreeModel instanceof StructureViewModel model && getValue() instanceof StructureViewTreeElement value) { return model.getElementStatus(value.getValue()); } return FileStatus.NOT_CHANGED; }