- Type Hierarchy:
java.lang.Object org.extendj.ast.PathPart org.extendj.ast.FolderPath
- Direct Known Subclasses:
- ClassFolderPath, SourceFolderPath
|
|||||||
FRAMES NO FRAMES |
java.lang.Object org.extendj.ast.PathPart org.extendj.ast.FolderPath
/home/jesper/git/extendj/java4/frontend/PathPart.jadd
at line 391
protected FolderPath(java.lang.String folderPath, boolean isSource)
protected FolderPath(java.io.File folder, boolean isSource)
public java.lang.String getPath()
public boolean hasPackage(java.lang.String name)
We need to use getCanonicalFile in order to get the case-sensitive package name on case-insensitive file systems or we might incorrectly report a package name conflict.
NB: This does not work well with symlinks!
hasPackage
in class PathPart
name
- The qualified name of the package
true
if the subdirectory matching the package exists
and contains at least one source or class file.public ClassSource findSource(java.lang.String name)
public java.lang.String toString()
|
|||||||
FRAMES NO FRAMES |