diff options
| author | 2015-02-09 22:23:45 -0500 | |
|---|---|---|
| committer | 2015-02-09 22:23:45 -0500 | |
| commit | af1041731c8c0ce1846ff7e7b6052ed7327a5dbc (patch) | |
| tree | e781b93f526a6c1ba7b6f5e14c319450199aa1df /src/cuchaz/enigma/bytecode/MethodParameterWriter.java | |
| parent | Don't automatically move mappings around. We're more interested in stability ... (diff) | |
| download | enigma-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.java | 4 |
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; | |||
| 17 | import javassist.CtClass; | 17 | import javassist.CtClass; |
| 18 | import cuchaz.enigma.mapping.ArgumentEntry; | 18 | import cuchaz.enigma.mapping.ArgumentEntry; |
| 19 | import cuchaz.enigma.mapping.BehaviorEntry; | 19 | import cuchaz.enigma.mapping.BehaviorEntry; |
| 20 | import cuchaz.enigma.mapping.BehaviorEntryFactory; | 20 | import cuchaz.enigma.mapping.EntryFactory; |
| 21 | import cuchaz.enigma.mapping.Signature; | 21 | import cuchaz.enigma.mapping.Signature; |
| 22 | import cuchaz.enigma.mapping.Translator; | 22 | import 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(); |