@Override public void setTypeVariables(List<TypeVariable> typeVariables) { declaration.setTypeParameters( typeVariables .stream() .map(getContext()::unresolveTypeVariable) .collect(Collectors.toList())); }
private List<Annotation> getAnnotationsInternal(List<AnnotationExpr> l) { return l.stream() .map(AnnotationParser::annotationFromAnnotationExpr) .collect(Collectors.toList()); }