mInnerClasses.add(inner);
// Record the inner class in this, the outer class.
if (mInnerClassesAttr == null) {
addAttribute(new InnerClassesAttr(mCp));
}
// TODO: Anonymous inner classes and method scoped classes do not have
// an outer class listed.
mInnerClassesAttr.addInnerClass(fullInnerClassName, mClassName,
innerClassName, modifiers);
// Record the inner class in itself.
inner.addAttribute(new InnerClassesAttr(inner.getConstantPool()));
inner.mInnerClassesAttr.addInnerClass(fullInnerClassName, mClassName,
innerClassName, modifiers);
return inner;
}