Package gw.lang.init

Class GosuPathEntry

java.lang.Object
gw.lang.init.GosuPathEntry

public class GosuPathEntry extends Object
  • Field Details

  • Constructor Details

    • GosuPathEntry

      public GosuPathEntry(IDirectory root, List<? extends IDirectory> srcs)
      Constructs a new GosuPathEntry with the specified data. None of the arguments are allowed to be null. Typeloader names should be fully-qualified Java class names.
      Parameters:
      root - the root IDirectory for this path entry
      srcs - the set of IDirectories for this entry that should be considered to be source directories
  • Method Details

    • getRoot

      public IDirectory getRoot()
      Returns the root directory for this GosuPathEntry. This method will never return null.
      Returns:
      the root directory
    • getSources

      public List<? extends IDirectory> getSources()
      Returns the source directories for this path entry. This method will never return null.
      Returns:
      the source directories
    • toDebugString

      public String toDebugString()
      Returns a String representation of this path entry suitable for use in debugging.
      Returns:
      a debug String representation of this object
    • toString

      public String toString()
      Overrides:
      toString in class Object