out.append("\n"); //fix for the bug than .end method ends by EOF but not CRLF
in.close();
Rule classrule = Parser.parse("smali", out.toString());
SmaliClass smaliClass = (SmaliClass)classrule.accept(new SmaliClassBuilder());
classes.put(smaliClass.getClassName(), smaliClass);
System.out.println(ClassRenderer.renderObject(smaliClass));
}