Package gw.lang.init
Class GosuPathEntry
java.lang.Object
gw.lang.init.GosuPathEntry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGosuPathEntry
(IDirectory root, List<? extends IDirectory> srcs) Constructs a new GosuPathEntry with the specified data. -
Method Summary
Modifier and TypeMethodDescriptiongetRoot()
Returns the root directory for this GosuPathEntry.List<? extends IDirectory>
Returns the source directories for this path entry.Returns a String representation of this path entry suitable for use in debugging.toString()
-
Field Details
-
_root
-
_srcs
-
-
Constructor Details
-
GosuPathEntry
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 entrysrcs
- the set of IDirectories for this entry that should be considered to be source directories
-
-
Method Details
-
getRoot
Returns the root directory for this GosuPathEntry. This method will never return null.- Returns:
- the root directory
-
getSources
Returns the source directories for this path entry. This method will never return null.- Returns:
- the source directories
-
toDebugString
Returns a String representation of this path entry suitable for use in debugging.- Returns:
- a debug String representation of this object
-
toString
-