From af1041731c8c0ce1846ff7e7b6052ed7327a5dbc Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 9 Feb 2015 22:23:45 -0500 Subject: fix translation issues, particularly with fields --- src/cuchaz/enigma/bytecode/MethodParameterWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cuchaz/enigma/bytecode/MethodParameterWriter.java') 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; import javassist.CtClass; import cuchaz.enigma.mapping.ArgumentEntry; import cuchaz.enigma.mapping.BehaviorEntry; -import cuchaz.enigma.mapping.BehaviorEntryFactory; +import cuchaz.enigma.mapping.EntryFactory; import cuchaz.enigma.mapping.Signature; import cuchaz.enigma.mapping.Translator; @@ -33,7 +33,7 @@ public class MethodParameterWriter { // Procyon will read method arguments from the "MethodParameters" attribute, so write those for (CtBehavior behavior : c.getDeclaredBehaviors()) { - BehaviorEntry behaviorEntry = BehaviorEntryFactory.create(behavior); + BehaviorEntry behaviorEntry = EntryFactory.getBehaviorEntry(behavior); // get the number of arguments Signature signature = behaviorEntry.getSignature(); -- cgit v1.2.3