diff options
Diffstat (limited to 'src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java')
| -rw-r--r-- | src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java b/src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java index 5d8a383..fc8cd66 100644 --- a/src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java +++ b/src/cuchaz/enigma/analysis/SourceIndexClassVisitor.java | |||
| @@ -28,7 +28,6 @@ import cuchaz.enigma.mapping.BehaviorEntry; | |||
| 28 | import cuchaz.enigma.mapping.BehaviorEntryFactory; | 28 | import cuchaz.enigma.mapping.BehaviorEntryFactory; |
| 29 | import cuchaz.enigma.mapping.ClassEntry; | 29 | import cuchaz.enigma.mapping.ClassEntry; |
| 30 | import cuchaz.enigma.mapping.ConstructorEntry; | 30 | import cuchaz.enigma.mapping.ConstructorEntry; |
| 31 | import cuchaz.enigma.mapping.Entry; | ||
| 32 | import cuchaz.enigma.mapping.FieldEntry; | 31 | import cuchaz.enigma.mapping.FieldEntry; |
| 33 | 32 | ||
| 34 | public class SourceIndexClassVisitor extends SourceIndexVisitor | 33 | public class SourceIndexClassVisitor extends SourceIndexVisitor |
| @@ -63,10 +62,7 @@ public class SourceIndexClassVisitor extends SourceIndexVisitor | |||
| 63 | if( node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY ) | 62 | if( node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY ) |
| 64 | { | 63 | { |
| 65 | ClassEntry classEntry = new ClassEntry( ref.getInternalName() ); | 64 | ClassEntry classEntry = new ClassEntry( ref.getInternalName() ); |
| 66 | index.addReference( | 65 | index.addReference( node.getIdentifierToken(), classEntry, m_classEntry ); |
| 67 | node.getIdentifierToken(), | ||
| 68 | new EntryReference<Entry,Entry>( classEntry, m_classEntry ) | ||
| 69 | ); | ||
| 70 | } | 66 | } |
| 71 | 67 | ||
| 72 | return recurse( node, index ); | 68 | return recurse( node, index ); |