StreamEx<Method> (StreamEx<Method> methods, DebugProcessImpl debugProcess) { String methodName = getMethodName(); return methods .filter(m -> Objects.equals(methodName, m.name()) && (mySignature == null || Objects.equals(mySignature, m.signature()))) .limit(1); }