code: public static void addGeneratedMethod(ClassNode cNode, MethodNode mNode) {
          cNode.addMethod(mNode);
          markAsGenerated(cNode, mNode);
      }
docs: Add a method that is marked as @Generated.
  
  @see ClassNode#addMethod(MethodNode)