code: public TypeInfo registerInnerClassWithGeneratedName(String simpleName, int accessModifiers) {
      simpleName = classNames.generateName(simpleName);
      TypeInfo innerClass = outer.innerClass(simpleName);
      innerClassesAccessModifiers.put(innerClass, accessModifiers);
      return innerClass;
    }
docs: Register the name (or a simpl mangling of it) as an inner class with the given access
  modifiers.
  
  @return A {@link TypeInfo} with the full (possibly mangled) class name