protected Iterable < JavaFileObject > wrap ( Iterable < JavaFileObject > fileObjects ) { List < JavaFileObject > mapped = new ArrayList < JavaFileObject > ( ) ; for ( JavaFileObject fileObject : fileObjects ) mapped . ( wrap ( fileObject ) ) ; return Collections . unmodifiableList ( mapped ) ; }
This implementation maps the given list of file objects by calling wrap on each . Subclasses may override this behavior .