summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/mapping/EntryFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuchaz/enigma/mapping/EntryFactory.java')
-rw-r--r--src/cuchaz/enigma/mapping/EntryFactory.java4
1 files changed, 4 insertions, 0 deletions
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 {
156 return getBehaviorEntry(new ClassEntry(className), behaviorName); 156 return getBehaviorEntry(new ClassEntry(className), behaviorName);
157 } 157 }
158 158
159 public static BehaviorEntry getBehaviorEntry(String className) {
160 return new ConstructorEntry(new ClassEntry(className));
161 }
162
159 public static BehaviorEntry getBehaviorEntry(ClassEntry classEntry, String behaviorName, Signature behaviorSignature) { 163 public static BehaviorEntry getBehaviorEntry(ClassEntry classEntry, String behaviorName, Signature behaviorSignature) {
160 if (behaviorName.equals("<init>")) { 164 if (behaviorName.equals("<init>")) {
161 return new ConstructorEntry(classEntry, behaviorSignature); 165 return new ConstructorEntry(classEntry, behaviorSignature);