TypeAnnotationContainer (int index) { if (isEmpty()) return this; List<TypeAnnotationEntry> list = ContainerUtil.mapNotNull(myList, e -> e.forTypeArgument(index)); return list.isEmpty() ? EMPTY : new TypeAnnotationContainer(list); }