code: public static void addGeneratedInnerClass(ClassNode cNode, ClassNode inner) {
          cNode.getModule().addClass(inner);
          markAsGenerated(cNode, inner);
      }
docs: Add an inner class that is marked as @Generated.
  
  @see org.codehaus.groovy.ast.ModuleNode#addClass(ClassNode)