Package pascal.taie
Class World
java.lang.Object
pascal.taie.util.AbstractResultHolder
pascal.taie.World
- All Implemented Interfaces:
Serializable
,ResultHolder
Manages the whole-program information of the program being analyzed.
Note that the setters of this class are protected: they are supposed
to be called (once) by the world builder, not analysis classes.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic World
get()
static void
registerResetCallback
(Runnable callback) static void
reset()
static void
Sets current world toworld
.void
setClassHierarchy
(ClassHierarchy classHierarchy) void
setImplicitEntries
(Collection<JMethod> implicitEntries) void
setIRBuilder
(IRBuilder irBuilder) void
setMainMethod
(JMethod mainMethod) void
setNativeModel
(NativeModel nativeModel) void
setOptions
(Options options) void
setTypeSystem
(TypeSystem typeSystem) Methods inherited from class pascal.taie.util.AbstractResultHolder
clearAll, clearResult, getKeys, getResult, getResult, getResult, hasResult, storeResult
-
Constructor Details
-
World
public World()
-
-
Method Details
-
set
Sets current world toworld
. -
get
- Returns:
- the current
World
instance.
-
registerResetCallback
-
reset
public static void reset() -
getOptions
-
setOptions
-
getTypeSystem
-
setTypeSystem
-
getClassHierarchy
-
setClassHierarchy
-
getIRBuilder
-
setIRBuilder
-
getNativeModel
-
setNativeModel
-
getMainMethod
-
setMainMethod
-
getImplicitEntries
-
setImplicitEntries
-