private void processMethodEntryInAllFrames(ThreadReferenceProxyImpl thread,
                                             SuspendContextImpl context,
                                             List<ReferenceType> classes) throws EvaluateException {
    Set<ReferenceType> classesCopy = new HashSet<>(classes);
    List<StackFrameProxyImpl> frames = thread.frames();
    for (StackFrameProxyImpl frame : frames) {
      Method method = frame.location().method();
      ReferenceType declaringType = method.declaringType();
      boolean shouldCapture = !myIsFinal || method.isStaticInitializer();
      if (shouldCapture && classesCopy.contains(declaringType)) {
        ObjectReference thisObject = frame.thisObject();
        setTemporaryFieldWatchpoint(context, declaringType, thisObject, thread);
        classesCopy.remove(declaringType);
      }
    }
  }
private void processMethodEntryInAllFrames(ThreadReferenceProxyImpl thread,
                                             SuspendContextImpl context,
                                             List<ReferenceType> classes)