From 0a53f722541ba14ac8c0baf45299fdfd8b054496 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 22 Mar 2015 14:25:09 -0400 Subject: don't forget to translate EnclosingMethod attributes --- src/cuchaz/enigma/mapping/EntryFactory.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cuchaz/enigma/mapping/EntryFactory.java') diff --git a/src/cuchaz/enigma/mapping/EntryFactory.java b/src/cuchaz/enigma/mapping/EntryFactory.java index 4898e6d..69c1630 100644 --- a/src/cuchaz/enigma/mapping/EntryFactory.java +++ b/src/cuchaz/enigma/mapping/EntryFactory.java @@ -156,6 +156,10 @@ public class EntryFactory { return getBehaviorEntry(new ClassEntry(className), behaviorName); } + public static BehaviorEntry getBehaviorEntry(String className) { + return new ConstructorEntry(new ClassEntry(className)); + } + public static BehaviorEntry getBehaviorEntry(ClassEntry classEntry, String behaviorName, Signature behaviorSignature) { if (behaviorName.equals("")) { return new ConstructorEntry(classEntry, behaviorSignature); -- cgit v1.2.3