Exemple #1
0
 public static void keep(Value value, EvaluationContext context) {
   if (value instanceof ObjectReference) {
     ((SuspendContextImpl) context.getSuspendContext()).keep((ObjectReference) value);
   }
 }
Exemple #2
0
 private static void keep(ObjectReference reference, EvaluationContext context) {
   ((SuspendContextImpl) context.getSuspendContext()).keep(reference);
 }