public static @Nullable <T> T getUserObject(@NotNull Class<T> type, @Nullable Object node) {
    node = getUserObject(node);
    return type.isInstance(node) ? type.cast(node) : null;
  }
public static @Nullable <T> T getUserObject(@NotNull Class<T> type, @Nullable Object node)