summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/analysis/JarIndex.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuchaz/enigma/analysis/JarIndex.java')
-rw-r--r--src/cuchaz/enigma/analysis/JarIndex.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cuchaz/enigma/analysis/JarIndex.java b/src/cuchaz/enigma/analysis/JarIndex.java
index a2f6bf3..604e485 100644
--- a/src/cuchaz/enigma/analysis/JarIndex.java
+++ b/src/cuchaz/enigma/analysis/JarIndex.java
@@ -277,6 +277,7 @@ public class JarIndex
277 } 277 }
278 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>( 278 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>(
279 calledMethodEntry, 279 calledMethodEntry,
280 call.getMethodName(),
280 behaviorEntry 281 behaviorEntry
281 ); 282 );
282 m_behaviorReferences.put( calledMethodEntry, reference ); 283 m_behaviorReferences.put( calledMethodEntry, reference );
@@ -300,6 +301,7 @@ public class JarIndex
300 } 301 }
301 EntryReference<FieldEntry,BehaviorEntry> reference = new EntryReference<FieldEntry,BehaviorEntry>( 302 EntryReference<FieldEntry,BehaviorEntry> reference = new EntryReference<FieldEntry,BehaviorEntry>(
302 calledFieldEntry, 303 calledFieldEntry,
304 call.getFieldName(),
303 behaviorEntry 305 behaviorEntry
304 ); 306 );
305 m_fieldReferences.put( calledFieldEntry, reference ); 307 m_fieldReferences.put( calledFieldEntry, reference );
@@ -308,9 +310,6 @@ public class JarIndex
308 @Override 310 @Override
309 public void edit( ConstructorCall call ) 311 public void edit( ConstructorCall call )
310 { 312 {
311 // TODO: save isSuper in the reference somehow
312 boolean isSuper = call.getMethodName().equals( "super" );
313
314 String className = Descriptor.toJvmName( call.getClassName() ); 313 String className = Descriptor.toJvmName( call.getClassName() );
315 ConstructorEntry calledConstructorEntry = new ConstructorEntry( 314 ConstructorEntry calledConstructorEntry = new ConstructorEntry(
316 new ClassEntry( className ), 315 new ClassEntry( className ),
@@ -318,6 +317,7 @@ public class JarIndex
318 ); 317 );
319 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>( 318 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>(
320 calledConstructorEntry, 319 calledConstructorEntry,
320 call.getMethodName(),
321 behaviorEntry 321 behaviorEntry
322 ); 322 );
323 m_behaviorReferences.put( calledConstructorEntry, reference ); 323 m_behaviorReferences.put( calledConstructorEntry, reference );
@@ -333,6 +333,7 @@ public class JarIndex
333 ); 333 );
334 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>( 334 EntryReference<BehaviorEntry,BehaviorEntry> reference = new EntryReference<BehaviorEntry,BehaviorEntry>(
335 calledConstructorEntry, 335 calledConstructorEntry,
336 call.getClassName(),
336 behaviorEntry 337 behaviorEntry
337 ); 338 );
338 m_behaviorReferences.put( calledConstructorEntry, reference ); 339 m_behaviorReferences.put( calledConstructorEntry, reference );