diff options
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(); |