private static @NotNull List<BaseInjection> getInjectionList(final List<InjInfo> list) {
    return new AbstractList<>() {
      @Override
      public BaseInjection get(final int index) {
        return list.get(index).injection;
      }

      @Override
      public int size() {
        return list.size();
      }
    };
  }
private static @NotNull List<BaseInjection> getInjectionList(final List<InjInfo> list)