提交 850bd969 编写于 作者: S Skylot

fix: don't remove synthetic class with inner classes

上级 20b03aa7
......@@ -42,7 +42,8 @@ public class ClassModifier extends AbstractVisitor {
}
if (cls.getAccessFlags().isSynthetic()
&& cls.getFields().isEmpty()
&& cls.getMethods().isEmpty()) {
&& cls.getMethods().isEmpty()
&& cls.getInnerClasses().isEmpty()) {
cls.add(AFlag.DONT_GENERATE);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册