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