Package soot.JastAddJ
Class FolderPart
- java.lang.Object
-
- soot.JastAddJ.PathPart
-
- soot.JastAddJ.FolderPart
-
public class FolderPart extends PathPart
-
-
Constructor Summary
Constructors Constructor Description FolderPart(File folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasCompilationUnit(String canonicalName)booleanhasPackage(String name)booleanselectCompilationUnit(String canonicalName)StringtoString()-
Methods inherited from class soot.JastAddJ.PathPart
createClassPath, createSourcePath, fileSuffix, getAge, getCompilationUnit, getInputStream, getProgram, setProgram
-
-
-
-
Constructor Detail
-
FolderPart
public FolderPart(File folder)
-
-
Method Detail
-
hasPackage
public boolean hasPackage(String name)
- Overrides:
hasPackagein classPathPart- Parameters:
name- The qualified package name- Returns:
trueif the given package exists in this source folder
-
hasCompilationUnit
public boolean hasCompilationUnit(String canonicalName)
-
selectCompilationUnit
public boolean selectCompilationUnit(String canonicalName) throws IOException
- Overrides:
selectCompilationUnitin classPathPart- Throws:
IOException
-
-