@SuppressWarnings("unchecked")
  private T getLastNode(@NotNull TreePath path) {
    return (T)path.getLastPathComponent();
  }
@SuppressWarnings("unchecked")
  private T getLastNode(@NotNull TreePath path)