Created by bitbucket user severinh on 2014-04-06 10:13
Last updated on 2016-07-04 20:42
The field assignment newList.next := this adds the predicate instance specifying this as a nested predicate instance to the predicate specifying newList.
At the end of the method, the analysis decides (see folding heuristics) not to fold the predicate instance for newList, because then the method would lose the nested predicate instance for list (even though it does not contain any permissions at all).
Thus, because folding did not happen, the analysis conservatively does not extract any permissions for newList.
The field assignment
newList.next := this
adds the predicate instance specifyingthis
as a nested predicate instance to the predicate specifyingnewList
.At the end of the method, the analysis decides (see folding heuristics) not to fold the predicate instance for
newList
, because then the method would lose the nested predicate instance forlist
(even though it does not contain any permissions at all).Thus, because folding did not happen, the analysis conservatively does not extract any permissions for
newList
.