PyEvaluator (boolean enableResolve) { final PyEvaluator evaluator = new PyEvaluator(); evaluator.setEvaluateCollectionItems(false); evaluator.setEvaluateKeys(false); evaluator.enableResolve(enableResolve); return evaluator; }