docs: protected List<AnnotationNode> copyAnnotatedNodeAnnotations(final AnnotatedNode annotatedNode, String myTypeName) {
          final List<AnnotationNode> copiedAnnotations = new ArrayList<AnnotationNode>();
          final List<AnnotationNode> notCopied = new ArrayList<AnnotationNode>();
          GeneralUtils.copyAnnotatedNodeAnnotations(annotatedNode, copiedAnnotations, notCopied);
          for (AnnotationNode annotation : notCopied) {
              addError(myTypeName + " does not support keeping Closure annotation members.", annotation);
          }
          return copiedAnnotations;
      }