Skip to content

Commit

Permalink
fix: don't remove synthetic class with inner classes
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Nov 11, 2018
1 parent 20b03aa commit 850bd96
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -42,7 +42,8 @@ public boolean visit(ClassNode cls) throws JadxException {
}
if (cls.getAccessFlags().isSynthetic()
&& cls.getFields().isEmpty()
&& cls.getMethods().isEmpty()) {
&& cls.getMethods().isEmpty()
&& cls.getInnerClasses().isEmpty()) {
cls.add(AFlag.DONT_GENERATE);
return false;
}
Expand Down

0 comments on commit 850bd96

Please sign in to comment.