Class Typing
java.lang.Object
sootup.interceptors.typeresolving.Typing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(Typing typing, BytecodeHierarchy hierarchy, Collection<Local> localsToIgnore) This method is used to compare twoTyping
s that have same locals' set, but with different types.getMap()
void
void
setStmtsIDList
(BitSet bitSet)
-
Constructor Details
-
Typing
-
Typing
-
-
Method Details
-
getType
-
set
-
getLocals
-
getMap
-
setStmtsIDList
-
getStmtsIDList
-
compare
public int compare(@Nonnull Typing typing, @Nonnull BytecodeHierarchy hierarchy, @Nonnull Collection<Local> localsToIgnore) This method is used to compare twoTyping
s that have same locals' set, but with different types.- Returns:
- 0: same to the given
typing
. 1: more general to the giventyping
. -1: more specific to the giventyping
. -2: cannot be compared to the giventyping
. One local have two different types which have no ancestor relationship. 2: cannot be compared to the giventyping
. One local's type is more specific than the given typing, but another local's type is more general than the given typing.
-