void (FilteredRequestor requestor, SuspendContextImpl context, @NotNull ReferenceType declaringType, @Nullable ObjectReference thisObj, @Nullable ThreadReferenceProxyImpl thread) { DebugProcessImpl debugProcess = context.getDebugProcess(); RequestManagerImpl requestManager = debugProcess.getRequestsManager(); MethodExitRequest request = requestManager.createMethodExitRequest(requestor); request.addClassFilter(declaringType); if (thisObj != null) { request.addInstanceFilter(thisObj); } if (thread != null) { request.addThreadFilter(thread.getThreadReference()); } request.enable(); }