public static List<TypeAnnotation> extract(List<TypeAnnotation> typeAnnotations) {
      return typeAnnotations.stream()
        .filter(typeAnnotation -> typeAnnotation.getTargetInfo() instanceof EmptyTarget)
        .collect(Collectors.toList());
    }
public static List<TypeAnnotation> extract(List<TypeAnnotation> typeAnnotations)