@ Nonnull public PreprocessorContext setSources ( @ Nonnull @ MustNotContainNull final List < String > folderPaths ) { this . sources . clear ( ) ; this . sources . addAll ( assertDoesntContainNull ( folderPaths ) . stream ( ) . map ( x -> new SourceFolder ( this . baseDir , x ) ) . collect ( Collectors . toList ( ) ) ) ; return this ; }
Set source directories