Class JSCallGraphUtil.Bootstrap
java.lang.Object
com.ibm.wala.cast.js.ipa.callgraph.JSCallGraphUtil.Bootstrap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasModule()
Precondition: isModuleFile().the containing moduleIterator
<? extends ModuleEntry> getName()
getURL()
boolean
boolean
boolean
-
Constructor Details
-
Bootstrap
-
-
Method Details
-
getEntries
- Specified by:
getEntries
in interfaceModule
- Returns:
- an Iterator of the ModuleEntries in this Module.
-
isClassFile
public boolean isClassFile()- Specified by:
isClassFile
in interfaceModuleEntry
- Returns:
- true if the file is a class file.
-
isSourceFile
public boolean isSourceFile()- Specified by:
isSourceFile
in interfaceModuleEntry
- Returns:
- true if the file is a source file.
-
getInputStream
- Specified by:
getInputStream
in interfaceModuleEntry
- Returns:
- an InputStream which provides the contents of this logical file.
-
isModuleFile
public boolean isModuleFile()- Specified by:
isModuleFile
in interfaceModuleEntry
- Returns:
- true iff this module entry (file) represents a module in its own right. e.g., a jar file which is an entry in another jar file.
-
asModule
Description copied from interface:ModuleEntry
Precondition: isModuleFile().- Specified by:
asModule
in interfaceModuleEntry
- Returns:
- a Module view of this entry.
-
getClassName
- Specified by:
getClassName
in interfaceModuleEntry
- Returns:
- the name of the class represented by this entry
-
getContainer
Description copied from interface:ModuleEntry
the containing module- Specified by:
getContainer
in interfaceModuleEntry
-
getName
- Specified by:
getName
in interfaceModuleEntry
- Returns:
- a String that represents the name of the file described by this object
-
getInputReader
- Specified by:
getInputReader
in interfaceSourceModule
-
getURL
- Specified by:
getURL
in interfaceSourceModule
-