From 634b1faa5bdd1d333789c3557f5bf4a84071f791 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 20 May 2014 20:45:05 +0400 Subject: order of inner classes preserved --- src/de/fernflower/main/ClassesProcessor.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/de/fernflower/main/ClassesProcessor.java b/src/de/fernflower/main/ClassesProcessor.java index 5155798..07ca4eb 100644 --- a/src/de/fernflower/main/ClassesProcessor.java +++ b/src/de/fernflower/main/ClassesProcessor.java @@ -162,10 +162,16 @@ public class ClassesProcessor { String superClass = stack.removeFirst(); ClassNode supernode = mapRootClasses.get(superClass); - + HashSet setNestedClasses = mapNestedClassReferences.get(superClass); if(setNestedClasses != null) { - for(String nestedClass : setNestedClasses) { + StructClass scl = supernode.classStruct; + StructInnerClassesAttribute inner = (StructInnerClassesAttribute)scl.getAttributes().getWithKey("InnerClasses"); + for(int i=0;i