summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/bytecode/MethodParameterWriter.java
diff options
context:
space:
mode:
authorGravatar jeff2015-02-09 22:23:45 -0500
committerGravatar jeff2015-02-09 22:23:45 -0500
commitaf1041731c8c0ce1846ff7e7b6052ed7327a5dbc (patch)
treee781b93f526a6c1ba7b6f5e14c319450199aa1df /src/cuchaz/enigma/bytecode/MethodParameterWriter.java
parentDon't automatically move mappings around. We're more interested in stability ... (diff)
downloadenigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.gz
enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.xz
enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.zip
fix translation issues, particularly with fields
Diffstat (limited to 'src/cuchaz/enigma/bytecode/MethodParameterWriter.java')
-rw-r--r--src/cuchaz/enigma/bytecode/MethodParameterWriter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuchaz/enigma/bytecode/MethodParameterWriter.java b/src/cuchaz/enigma/bytecode/MethodParameterWriter.java
index 853928c..f64ca02 100644
--- a/src/cuchaz/enigma/bytecode/MethodParameterWriter.java
+++ b/src/cuchaz/enigma/bytecode/MethodParameterWriter.java
@@ -17,7 +17,7 @@ import javassist.CtBehavior;
17import javassist.CtClass; 17import javassist.CtClass;
18import cuchaz.enigma.mapping.ArgumentEntry; 18import cuchaz.enigma.mapping.ArgumentEntry;
19import cuchaz.enigma.mapping.BehaviorEntry; 19import cuchaz.enigma.mapping.BehaviorEntry;
20import cuchaz.enigma.mapping.BehaviorEntryFactory; 20import cuchaz.enigma.mapping.EntryFactory;
21import cuchaz.enigma.mapping.Signature; 21import cuchaz.enigma.mapping.Signature;
22import cuchaz.enigma.mapping.Translator; 22import cuchaz.enigma.mapping.Translator;
23 23
@@ -33,7 +33,7 @@ public class MethodParameterWriter {
33 33
34 // Procyon will read method arguments from the "MethodParameters" attribute, so write those 34 // Procyon will read method arguments from the "MethodParameters" attribute, so write those
35 for (CtBehavior behavior : c.getDeclaredBehaviors()) { 35 for (CtBehavior behavior : c.getDeclaredBehaviors()) {
36 BehaviorEntry behaviorEntry = BehaviorEntryFactory.create(behavior); 36 BehaviorEntry behaviorEntry = EntryFactory.getBehaviorEntry(behavior);
37 37
38 // get the number of arguments 38 // get the number of arguments
39 Signature signature = behaviorEntry.getSignature(); 39 Signature signature = behaviorEntry.getSignature();