@Test @Ignore public void testRun() { Order order = new Order(); order.run(group); }
@Override public void run(ClassGroup group) { execution = new Execution(group); execution.staticStep = true; execution.populateInitialMethods(); execution.run(); for (int i = 0; i < group.getClasses().size(); i++) { ClassFile cf = group.getClasses().get(i); String className = DeobAnnotations.getObfuscatedName(cf.getAnnotations()); nameIndices.put(className, i); } int sortedMethods = 0, sortedFields = 0; for (ClassFile cf : group.getClasses()) { List<Method> m = cf.getMethods(); Collections.sort(m, this::compareMethod); sortedMethods += m.size(); if (!cf.isEnum()) { List<Field> f = cf.getFields(); Collections.sort(f, this::compareFields); sortedFields += f.size(); } } logger.info("Sorted {} methods and {} fields", sortedMethods, sortedFields); }
Order implements Deobfuscator { @Override public void run(ClassGroup group) { execution = new Execution(group); execution.staticStep = true; execution.populateInitialMethods(); execution.run(); for (int i = 0; i < group.getClasses().size(); i++) { ClassFile cf = group.getClasses().get(i); String className = DeobAnnotations.getObfuscatedName(cf.getAnnotations()); nameIndices.put(className, i); } int sortedMethods = 0, sortedFields = 0; for (ClassFile cf : group.getClasses()) { List<Method> m = cf.getMethods(); Collections.sort(m, this::compareMethod); sortedMethods += m.size(); if (!cf.isEnum()) { List<Field> f = cf.getFields(); Collections.sort(f, this::compareFields); sortedFields += f.size(); } } logger.info("Sorted {} methods and {} fields", sortedMethods, sortedFields); } }
Order implements Deobfuscator { @Override public void run(ClassGroup group) { execution = new Execution(group); execution.staticStep = true; execution.populateInitialMethods(); execution.run(); for (int i = 0; i < group.getClasses().size(); i++) { ClassFile cf = group.getClasses().get(i); String className = DeobAnnotations.getObfuscatedName(cf.getAnnotations()); nameIndices.put(className, i); } int sortedMethods = 0, sortedFields = 0; for (ClassFile cf : group.getClasses()) { List<Method> m = cf.getMethods(); Collections.sort(m, this::compareMethod); sortedMethods += m.size(); if (!cf.isEnum()) { List<Field> f = cf.getFields(); Collections.sort(f, this::compareFields); sortedFields += f.size(); } } logger.info("Sorted {} methods and {} fields", sortedMethods, sortedFields); }  }
Order implements Deobfuscator { @Override public void run(ClassGroup group) { execution = new Execution(group); execution.staticStep = true; execution.populateInitialMethods(); execution.run(); for (int i = 0; i < group.getClasses().size(); i++) { ClassFile cf = group.getClasses().get(i); String className = DeobAnnotations.getObfuscatedName(cf.getAnnotations()); nameIndices.put(className, i); } int sortedMethods = 0, sortedFields = 0; for (ClassFile cf : group.getClasses()) { List<Method> m = cf.getMethods(); Collections.sort(m, this::compareMethod); sortedMethods += m.size(); if (!cf.isEnum()) { List<Field> f = cf.getFields(); Collections.sort(f, this::compareFields); sortedFields += f.size(); } } logger.info("Sorted {} methods and {} fields", sortedMethods, sortedFields); }  @Override void run(ClassGroup group); }
Order implements Deobfuscator { @Override public void run(ClassGroup group) { execution = new Execution(group); execution.staticStep = true; execution.populateInitialMethods(); execution.run(); for (int i = 0; i < group.getClasses().size(); i++) { ClassFile cf = group.getClasses().get(i); String className = DeobAnnotations.getObfuscatedName(cf.getAnnotations()); nameIndices.put(className, i); } int sortedMethods = 0, sortedFields = 0; for (ClassFile cf : group.getClasses()) { List<Method> m = cf.getMethods(); Collections.sort(m, this::compareMethod); sortedMethods += m.size(); if (!cf.isEnum()) { List<Field> f = cf.getFields(); Collections.sort(f, this::compareFields); sortedFields += f.size(); } } logger.info("Sorted {} methods and {} fields", sortedMethods, sortedFields); }  @Override void run(ClassGroup group);  }