summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui/GuiController.java
diff options
context:
space:
mode:
authorGravatar Adrian Siekierka2018-12-09 12:38:11 +0100
committerGravatar Adrian Siekierka2018-12-09 12:38:11 +0100
commitef8bdf506c48d7c9d2bd1f97030d123015c3ae44 (patch)
treeb31761481283b260b4b9e7e2f4f831bcffed91c9 /src/main/java/cuchaz/enigma/gui/GuiController.java
parentfix SourceIndex remap bugs (diff)
downloadenigma-fork-ef8bdf506c48d7c9d2bd1f97030d123015c3ae44.tar.gz
enigma-fork-ef8bdf506c48d7c9d2bd1f97030d123015c3ae44.tar.xz
enigma-fork-ef8bdf506c48d7c9d2bd1f97030d123015c3ae44.zip
add option to view calls to a method in general, not just the specific instance of the method
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java')
-rw-r--r--src/main/java/cuchaz/enigma/gui/GuiController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java
index acb0ebb..69aefe5 100644
--- a/src/main/java/cuchaz/enigma/gui/GuiController.java
+++ b/src/main/java/cuchaz/enigma/gui/GuiController.java
@@ -209,10 +209,10 @@ public class GuiController {
209 return rootNode; 209 return rootNode;
210 } 210 }
211 211
212 public MethodReferenceTreeNode getMethodReferences(MethodEntry deobfMethodEntry) { 212 public MethodReferenceTreeNode getMethodReferences(MethodEntry deobfMethodEntry, boolean recursive) {
213 MethodEntry obfMethodEntry = this.deobfuscator.obfuscateEntry(deobfMethodEntry); 213 MethodEntry obfMethodEntry = this.deobfuscator.obfuscateEntry(deobfMethodEntry);
214 MethodReferenceTreeNode rootNode = new MethodReferenceTreeNode(this.deobfuscator.getTranslator(TranslationDirection.DEOBFUSCATING), obfMethodEntry); 214 MethodReferenceTreeNode rootNode = new MethodReferenceTreeNode(this.deobfuscator.getTranslator(TranslationDirection.DEOBFUSCATING), obfMethodEntry);
215 rootNode.load(this.deobfuscator.getJarIndex(), true); 215 rootNode.load(this.deobfuscator.getJarIndex(), true, recursive);
216 return rootNode; 216 return rootNode;
217 } 217 }
218 218