log.debug("Invariant expressions: {}", Arrays.toString(invariantFinder.invariantExpressions.keySet().toArray()));
Iterator<AJCComparableExpressionTree> iterator = invariantFinder.invariantExpressions.keySet().iterator();
while (iterator.hasNext()) {
AJCComparableExpressionTree expr = iterator.next();
// Discard all expressions that aren't complicated enough to be worth moving..
ExpressionComplexityClassifier classifier = new ExpressionComplexityClassifier();
classifier.visitTree(expr.wrappedNode);
if (classifier.getScore() < INVAR_COMPLEXITY_THRESHOLD) {