langtools/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java
changeset 44690 aec722d1b538
parent 44197 380e1f22e460
equal deleted inserted replaced
44689:53c703004306 44690:aec722d1b538
   362      *
   362      *
   363      * @param location a location
   363      * @param location a location
   364      * @return a list of files or {@code null} if this location has no
   364      * @return a list of files or {@code null} if this location has no
   365      * associated search path
   365      * associated search path
   366      * @throws IllegalStateException if any element of the search path
   366      * @throws IllegalStateException if any element of the search path
   367      * cannot be converted to a {@linkplain File}.
   367      * cannot be converted to a {@linkplain File}, or if the search path
       
   368      * cannot be represented as a simple series of files.
   368      *
   369      *
   369      * @see #setLocation
   370      * @see #setLocation
   370      * @see Path#toFile
   371      * @see Path#toFile
   371      */
   372      */
   372     Iterable<? extends File> getLocation(Location location);
   373     Iterable<? extends File> getLocation(Location location);
   380      * on each {@code File} returned from {@code getLocation}.
   381      * on each {@code File} returned from {@code getLocation}.
   381      *
   382      *
   382      * @param location a location
   383      * @param location a location
   383      * @return a list of paths or {@code null} if this location has no
   384      * @return a list of paths or {@code null} if this location has no
   384      * associated search path
   385      * associated search path
       
   386      * @throws IllegalStateException if the search path cannot be represented
       
   387      * as a simple series of paths.
   385      *
   388      *
   386      * @see #setLocationFromPaths
   389      * @see #setLocationFromPaths
   387      * @since 9
   390      * @since 9
   388      */
   391      */
   389     default Iterable<? extends Path> getLocationAsPaths(Location location) {
   392     default Iterable<? extends Path> getLocationAsPaths(Location location) {