mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-17 23:05:08 -05:00
order of inner classes preserved
This commit is contained in:
parent
310058e6eb
commit
634b1faa5b
@ -165,7 +165,13 @@ public class ClassesProcessor {
|
|||||||
|
|
||||||
HashSet<String> setNestedClasses = mapNestedClassReferences.get(superClass);
|
HashSet<String> setNestedClasses = mapNestedClassReferences.get(superClass);
|
||||||
if(setNestedClasses != null) {
|
if(setNestedClasses != null) {
|
||||||
for(String nestedClass : setNestedClasses) {
|
StructClass scl = supernode.classStruct;
|
||||||
|
StructInnerClassesAttribute inner = (StructInnerClassesAttribute)scl.getAttributes().getWithKey("InnerClasses");
|
||||||
|
for(int i=0;i<inner.getStringentries().size();i++) {
|
||||||
|
String nestedClass = inner.getStringentries().get(i)[0];
|
||||||
|
if(!setNestedClasses.contains(nestedClass)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(setVisited.contains(nestedClass)) {
|
if(setVisited.contains(nestedClass)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user