List<Sdk> (@NotNull List<? extends Sdk> input) { List<Sdk> copy = new ArrayList<>(); for (Sdk item : input) { SdkTypeId type = item.getSdkType(); if (allowFixesFor(type)) { copy.add(item); } } return copy; }