From 82789aa38e133839661a8eee6d8db75da0306e7c Mon Sep 17 00:00:00 2001 From: Cody <6558800+Bl3nd@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:18:37 -0600 Subject: [PATCH] Make methods look for the same method that has the same signature rather than owner. --- .../club/bytecodeviewer/gui/components/actions/GoToAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions/GoToAction.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions/GoToAction.java index fcc61d00..ae2fa1b7 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions/GoToAction.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions/GoToAction.java @@ -127,7 +127,7 @@ public class GoToAction extends AbstractAction } else { - methods.stream().filter(classMethodLocation -> classMethodLocation.owner.equals(method.owner)).forEach(classMethodLocation -> + methods.stream().filter(classMethodLocation -> classMethodLocation.signature.equals(method.signature)).forEach(classMethodLocation -> { if (classMethodLocation.decRef.equalsIgnoreCase("declaration")) {