public abstract Iterable<? extends JavaFileObject> getJavaFileObjects (String… names)

Returns file objects representing the given file names. Convenience method equivalent to:

     getJavaFileObjectsFromStrings(Arrays.asList(names))
 

Parameters:
names    a list of file names

Returns:  a list of file objects

Exceptions:
IllegalArgumentException    if the array of file names includes a directory
NullPointerException    if the given array contains null elements