class AnnotationExtractor {

    public List<Set<Log>> getParameterLogs(Method method) {
        return Stream.of(method.getParameters())
                .map(parameter -> findAnnotationOnParameter(parameter, Log.class))
                .collect(toList());
    }

    private  AnnotationExtractor();

}