Interface SourcePath

All Superinterfaces:
java.lang.Iterable<java.lang.String>
All Known Implementing Classes:
BasicSourcePath

public interface SourcePath
extends java.lang.Iterable<java.lang.String>
Source path is similar to Java class path. It contains source locations (directories usually) where the source files are.

The source providers depending on SourcePath will use some implementation of this interface to keep track the SourcePath elements and trying to locate the source files.

Author:
Peter Verhas
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.String path)
    Add an element to the source path, to the end of the list.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • add

      void add​(java.lang.String path)
      Add an element to the source path, to the end of the list.
      Parameters:
      path - parameter