public final @NotNull <T> JBIterable<T> filter(@NotNull Class<T> type) {
    //noinspection unchecked
    return (JBIterable<T>)filter(Conditions.instanceOf(type));
  }
public final @NotNull <T> JBIterable<T> filter(@NotNull Class<T> type)