question: private static VirtualFile [ ] toVirtualFiles ( File [ ] files ) { if ( files == null ) return null ; List < VirtualFile > vFiles = new ArrayList < VirtualFile > ( files . length ) ; for ( int i = 0 ; i < files . length ; i ++ ) { if ( files [ i ] != null ) vFiles . add ( new LocalFile ( files [ i ] ) ) ; } return vFiles . toArray ( new VirtualFile [ vFiles . size ( ) ] ) ; }
target:  Converts a list of File(s) into a list of VirtualFile(s). The VirtualFile implementation is flex2.compiler.io.LocalFile.