static ImmutableList < String > annotationStrings ( List < ? extends AnnotationMirror > annotations ) { // TODO(b/68008628): use ImmutableList.toImmutableList() when that works. return ImmutableList . copyOf ( annotations . stream ( ) . map ( AnnotationOutput :: sourceFormForAnnotation ) . collect ( toList ( ) ) ) ; }
Returns the spelling to be used in the generated code for the given list of annotations .