- Type Hierarchy:
java.lang.Object org.extendj.ast.PathPart
- Direct Known Subclasses:
- FolderPath, JarFilePath, SourceFilePath
|
|||||||
FRAMES NO FRAMES |
java.lang.Object org.extendj.ast.PathPart
/home/jesper/git/extendj/java4/frontend/PathPart.jadd
at line 304
protected PathPart(boolean isSource)
public abstract java.lang.String getPath()
public abstract boolean hasPackage(java.lang.String name)
The implementations of this method may use caching to improve the efficiency of subsequent calls to the method.
true
if the given package name exists in this path partpublic static PathPart createSourcePath(java.lang.String fileName)
public static PathPart createClassPath(java.lang.String fileName)
public ClassSource findSource(java.lang.String name)
name
- the canonical name of the class to lookup
null
if a compilation unit with the given name is not
available in this PathPart.public CompilationUnit getCompilationUnit(Program program, java.lang.String name) throws java.io.IOException
program
- name
- The canonical name of the class.
java.io.IOException
protected final boolean isSource
true
if this path part represents a source path, true
if this path part represents a bytecode class path.protected final java.lang.String fileSuffix
|
|||||||
FRAMES NO FRAMES |