summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/mapping/EntryFactory.java
diff options
context:
space:
mode:
authorGravatar jeff2015-03-22 14:25:09 -0400
committerGravatar jeff2015-03-22 14:25:09 -0400
commit0a53f722541ba14ac8c0baf45299fdfd8b054496 (patch)
tree838a49c3128c4653fcbdadb3789056cbed7f198a /src/cuchaz/enigma/mapping/EntryFactory.java
parentmake sure LVTT names explicitly match the LVT names (diff)
downloadenigma-fork-0a53f722541ba14ac8c0baf45299fdfd8b054496.tar.gz
enigma-fork-0a53f722541ba14ac8c0baf45299fdfd8b054496.tar.xz
enigma-fork-0a53f722541ba14ac8c0baf45299fdfd8b054496.zip
don't forget to translate EnclosingMethod attributes
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);