private Stream<? extends AnnotationNode> handleMultipleContainedAnnotations(AnnotationNode container,
                                                                              Stream<? extends AnnotationNode> result,
                                                                              List<Expression> valueExpressions) {
    if (notRepeatedAnnotation(valueExpressions.get(0), container)) {
      return result;
    }

    return Stream.concat(result, valueExpressions
      .stream()
      .map(AnnotationConstantExpression.class::cast)
      .map(AnnotationConstantExpression::getValue)
      .map(AnnotationNode.class::cast));
  }
Puts all spec information required at runtime into annotations
attached to class members.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/compiler/SpecAnnotator.java