public class FileNamesPart extends PathPart
| Constructor and Description |
|---|
FileNamesPart(Program p) |
| Modifier and Type | Method and Description |
|---|---|
CompilationUnit |
addSourceFile(String name)
Add a source file to be parsed.
|
boolean |
hasPackage(String name) |
boolean |
isEmpty() |
Collection |
keySet() |
boolean |
selectCompilationUnit(String canonicalName) |
createClassPath, createSourcePath, fileSuffix, getAge, getCompilationUnit, getInputStream, getProgram, setProgrampublic FileNamesPart(Program p)
public boolean hasPackage(String name)
hasPackage in class PathPartpublic boolean isEmpty()
public Collection keySet()
public boolean selectCompilationUnit(String canonicalName) throws IOException
selectCompilationUnit in class PathPartIOExceptionpublic CompilationUnit addSourceFile(String name)
null if no such file existsCopyright © 2020 Soot OSS. All rights reserved.